Update Google test script to accept cookie consent and improve element interaction
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
use "Chrome"
|
||||
|
||||
# Part 1 - Load Google and wait for cookie consent
|
||||
# Part 1 - Load Google and accept cookies
|
||||
open "https://google.de"
|
||||
sleep 2000 "load"
|
||||
dump "load"
|
||||
wait element=button childText="Alle akzeptieren"
|
||||
click element=button childText="Alle akzeptieren"
|
||||
sleep 1000 "after cookie accept"
|
||||
dump "after_cookie_accept"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user