File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ class MyTestClass(BaseCase):
11
11
12
12
def test_rate_limited_printing (self ):
13
13
self .open ("https://www.saucedemo.com/" )
14
- self .update_text ("#user-name" , "standard_user" )
14
+ self .type ("#user-name" , "standard_user" )
15
15
16
16
encrypted_password = "$^*ENCRYPT=S3BDTAdCWzMmKEY8Gjg=?&#$"
17
17
print ("\n Encrypted Password = %s" % encrypted_password )
18
18
password = encryption .decrypt (encrypted_password )
19
19
print ("Decrypted Password = %s" % password )
20
- self .update_text ("#password" , password )
20
+ self .type ("#password" , password )
21
21
22
22
self .click ('input[type="submit"]' )
23
23
self .assert_text ("Products" , "div.product_label" )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class Test_UseFixtures():
6
6
def test_usefixtures_on_class (self ):
7
7
sb = self .sb
8
8
sb .open ("https://google.com/ncr" )
9
- sb .update_text ('input[title="Search"]' , 'SeleniumBase\n ' )
9
+ sb .type ('input[title="Search"]' , 'SeleniumBase\n ' )
10
10
sb .click ('a[href*="github.com/seleniumbase/SeleniumBase"]' )
11
11
sb .assert_text ("SeleniumBase" , 'strong[itemprop="name"]' )
12
12
sb .assert_text ("integrations" )
You can’t perform that action at this time.
0 commit comments