Closed Luen closed 2 years ago
thanks for your PR. but I'm not sure how it would work. Did you test it?
//button/div['Log In']
evaluates to <div class="_ab8w _ab94 _ab99 _ab9f _ab9m _ab9p">Log in</div>
and you cannot click on a <div>
Yes, I test it once and it worked for me. I can delete the cookie file and try again.
It worked this time as well but it didn't use the fallback method as it did in the first test.
Ah, I know what's the problem. the problem is that in your html <div class="_ab8w _ab94 _ab99 _ab9f _ab9m _ab9p _abak _abb8 _abbq _abb-"><button class="_acan _acap _acas" type="submit"><div class="_ab8w _ab94 _ab99 _ab9f _ab9m _ab9p">Log in</div></button></div>
the text is Log in
. but the code checks for Log In
(capital I). and apparently XPath is case sensitive. I will add a fix
Thank you
109 109