I am trying to automate a login for my gmail account. I am able to catch email element with ID. But when I try to catch Password element, it is kind of tricky as their is no ID mentioned for that field. So I tried:
password=browser.find_element_by_css_selector(input(type=='password')).click()
password.send_keys('********')
login=browser.find_element_by_css_selector('.#passwordNext')
login.click()
If I run it I get the following error:
[12660:8048:0417/023418.651:ERROR:shader_disk_cache.cc(238)] Failed to create shader cache entry: -2
[12660:8048:0417/023418.796:ERROR:shader_disk_cache.cc(238)] Failed to create shader cache entry: -2
[12660:8048:0417/023418.796:ERROR:shader_disk_cache.cc(238)] Failed to create shader cache entry: -2
False[12660:8048:0417/023419.951:ERROR:shader_disk_cache.cc(238)] Failed to create shader cache entry: -2
I am pretty new to selenium and python and stuck badly. Help will be much appreciated please.