webium
webium copied to clipboard
1_basic_google.py: button name has changed to 'btnG'
This sample fails to run properly, as Google has changed the name attribute of the 'search' button from 'btnK' to 'btnG'.
Hi! It is still "btnK" for my domain (.by) as well as for de, ge, co.uk, ru. It's probably for a domain where you get redirected to. So, I'll probably get it fixed by adding more generic locator.
Yes, that makes sense.
Also, the samples are not 3.x ready - just minor things, print() is a function, plus filter() returns a generator, not a list. Once I made those changes, it works and should be back compatible with 2.x.
Checking out webium, after attending talk at selconf. Looking good!
Thanks, Tom
On September 16, 2015, at 1:43 PM, Vladimir Franskevich [email protected] wrote:
Hi! It is still "btnK" for my domain (.by) as well as for de, ge, co.uk, ru. It's probably for a domain where you get redirected to. So, I'll probably get it fixed by adding more generic locator.
— Reply to this email directly or view it on GitHub.