Skip to content
Advertisement

Tag: selenium-webdriver

Selenium continue script even if element is not present

This is an example of what my code currently looks like, When for instance element ID “PhoneNumber” isn’t present, the script will stop with the error code “Unable to locate element”, what needs to be added or changed in order to continue the script without abruption even if a certain element is not present? Thanks in advance. Answer You can

Message: element click intercepted: Element … is not clickable at point (657, 594). Other element would receive the click with Selenium

I was making a webscraper to get gpu stocks from https://www.nvidia.com/en-us/shop/geforce/?page=1&limit=9&locale=en-us to get my hands on a 30 series card, I am using python with bs4 and selenium for this. I want to load more shopping items, on the website it has this load more button. So I grabbed its class and made it so selenium clicks it: but it

using Selenium to get texts inside ‘ul’ tag?

Please help me to find the solution to get the text inside ‘ul’ tag. I want to get the information which is separated with commas like: ‘Contains Enzymatically Active B-Vitamins, Dietary Supplement, Non-GMO LE Certified’ website link: https://ca.iherb.com/pr/Life-Extension-BioActive-Complete-B-Complex-60-Vegetarian-Capsules/67051 picture: enter image description here This is the HTML code: Answer This should do it: Output:

Selenium thinks button is clickable when it’s disabled and raises WebDriverException

I know there’s someone else having the same problem as me, but it turns out he’s using a different code as me. (I’m NOT having the same problem with this : Selenium identifies the button as clickable when it wasn’t) So, apparently I’ve tried to make the page refreshes everytime the button is unclickable or disabled using the WebDriverException error.

Selenium ““element not interactable exception” while using sendkeys on google Form?

I am trying to fill out the google form using selenium in python3.9 https://docs.google.com/forms/d/e/1FAIpQLSead7qqhVWP4m4q9Y71Wu9kr2lbCQXvY4ge0OdFg9fI0SQYYA/viewform But I am getting an error at “element not interactable exception” at form[0].send_keys(‘222’) I read the thread b to solve the issue but seems like I am doing something wrong Thread I read at the stackoverflow How do you fix the “element not interactable” exception? What

Advertisement