Category "selenium-webdriver"

fix the "element not interactable" exception?

I am trying to fix the following error from selenium, but right now I am not able to proceed. selenium.common.exceptions.ElementNotInteractableException: Messag

Problem with repetitive messages for whatsapp - python

I have been making a whatsapp chatbot with python, my problem is that it answers many messages, I think I have some open loop and I am not checking if the last

how to click on pop up elements using undetected chromedriver

i am trying to make 5-star bot i have already done half work for getting login with gmail only place i am stuck is when it come to clicking on pop up window ask

It won't let me run selenium code in IntellJ all of a sudden

I was going to execute my code, which is the one I always execute every day for my tests, but suddenly this error appears and I have hardly found a solution, I

Selenium Webdriver test removes input on button click

I am running into an issue with my selenium webdriver test where, if I input something into a phone number field and then click the call button, it will clear o

stale element reference: while trying to access a drop down button

Have been trying to access the drop down button element using selenium, the page asks for a pincode on opening and after entering it and clicking ok it refreshe

stale element reference: while trying to access a drop down button

Have been trying to access the drop down button element using selenium, the page asks for a pincode on opening and after entering it and clicking ok it refreshe

How can I print more links from the HTML DOM using Python Selenium?

Html: <div class="xxxx"> <a href="ooooo.pdf"></a> </div> Python selenium code trials: from selenium.webdriver.support.ui import WebD

How to scrape weight of player which is a hidden content using Selenium

I have been trying to get the weight of this player, but it is only visible on the inspect element and not on the website, when I print the below, I get a blank

How to scrape weight of player which is a hidden content using Selenium

I have been trying to get the weight of this player, but it is only visible on the inspect element and not on the website, when I print the below, I get a blank

Selenium: Message: invalid selector: An invalid or illegal selector was specified

I'm trying to web scrape using selenium an NFT, website Magic Eden. When I try and scrape normal data like text on top of the page my code works fine, but when

I am getting this error while running the java selenium script......how to solve?

WARNING: onError java.net.SocketException: Connection reset at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394) at java.b

Element is not getting selected in Selenium Python Firefox Web Scrapping

I have problem with element selection checkbox with one of the list item in below code snippet. I'm able to select 1st 2nd & 4th Element in below code, howe

Firefox (geckodriver): How do I inject JavaScript functions into a page so that they persist upon return from 'executeScript'?

I have a Selenium Java library that includes a JavaScript "glue" library that enables JavaScript functions to throw serialized Java exceptions. This enables muc

getting NoSuchWindowException while scrapping twitter usernames using Selenium

I have been trying to scrape twitter usernames by going inside the followers page but the issue is if I leave my pc there after some time I get this exception a

How to parameterize the locators?

I am trying store all values required for locators in Property File: This is Property File: url=https://www.google.com value=search This is my object repos

Restricting browser drivers in selenium

I am a newbie to selenium. Just wanted to know how do I restrict the script to take only one version of a browser. I dont want to update my browser driver again

Put value in divs per digit(6-digit code) with Python Selenium

I put value in 6-digit code but i cant continue. I do this: d = driver.find_element_by_xpath('//*[@id="root"]/div/div/div/div/div/div[2]/div[1]/div/div/div/

Selenium 4 in Python works with Edge option headless False, but not with True

So I have function which takes some information from a website (https://www.fragrantica.com/perfume/Dior/Sauvage-Eau-de-Parfum-48100.html ; and I want to take r

Selenium webdriver -> closing my chrome after one second

I have issue with selenium from selenium import webdriver from selenium.webdriver.chrome.options import Options options = Options() options.binary_location = "