15 lines
514 B
Python
Executable File
15 lines
514 B
Python
Executable File
from seleniumbase import MasterQA
|
|
|
|
|
|
class MasterQATests(MasterQA):
|
|
def test_masterqa(self):
|
|
self.open("https://seleniumbase.io/devices/")
|
|
self.highlight("div.mockup-wrapper")
|
|
self.verify("Do you see 4 computer devices?")
|
|
self.open("https://seleniumbase.io/demo_page")
|
|
self.highlight("table")
|
|
self.verify("Do you see elements in a table?")
|
|
self.open("https://xkcd.com/1700/")
|
|
self.highlight("#comic")
|
|
self.verify("Do you see a webcomic?")
|