webium icon indicating copy to clipboard operation
webium copied to clipboard

1_basic_google.py: button name has changed to 'btnG'

Open tomsem opened this issue 9 years ago • 2 comments

This sample fails to run properly, as Google has changed the name attribute of the 'search' button from 'btnK' to 'btnG'.

tomsem avatar Sep 16 '15 19:09 tomsem

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.

ufranske avatar Sep 16 '15 20:09 ufranske

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.

tomsem avatar Sep 17 '15 01:09 tomsem