Add basic_script.py
This commit is contained in:
parent
4f9bbc2423
commit
db5f54b1d0
|
@ -0,0 +1,12 @@
|
|||
from seleniumbase import BaseCase
|
||||
|
||||
|
||||
class MyTestClass(BaseCase):
|
||||
|
||||
def test_basic(self):
|
||||
self.open('http://xkcd.com/353/')
|
||||
self.click('a[rel="license"]')
|
||||
self.open('http://xkcd.com/1481/')
|
||||
self.click("link=Blag")
|
||||
self.update_text('input#s', 'Robots!\n')
|
||||
self.open('http://xkcd.com/1319/')
|
Loading…
Reference in New Issue