automation

How do you find a specific descendent from an element in selenium?

How do you find a specific descendent from an element in selenium? Question: I’m automating the process of filling some forms online. The problem is that there are many individual elements whose children have basically the same ID of the stuff I want to find and fill. So my idea was to first find the …

Total answers: 1

Pandas run Converting program to contents of a folder

Pandas run Converting program to contents of a folder Question: I’ve created a program so that I can split the column into 2 columns by specifying the location of the file but I would like to do this for an entire folder so that the process can be a bit faster. Here is the code …

Total answers: 2

How to find the starting value of a dynamic element in selenium?

How to find the starting value of a dynamic element in selenium? Question: Im trying to get the value of the timer in the following website: https://userinyerface.com/game.html The timer starts from zero, however the problem is that when I retrieve the timer with selenium using the following python code: def setUp(self): self.driver = webdriver.Chrome() def …

Total answers: 2

Can't run Chrome in headless mode using Selenium

Can't run Chrome in headless mode using Selenium Question: So here’s my code first: from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.chrome.options import Options import time from fake_useragent import UserAgent import random ua = UserAgent() options = Options() chrome_options = webdriver.ChromeOptions() chrome_options.add_argument(‘–blink-settings=imagesEnabled=false’) chrome_options.add_argument(‘–headless’) chrome_options.add_argument(f’user-agent={ua.random}’) driver = webdriver.Chrome(options=options, chrome_options=chrome_options) driver.maximize_window() url = "https://magiceden.io/marketplace/hasuki" driver.get(url) …

Total answers: 1

'429 error: too many requests' when using Instagram API with Python script

'429 error: too many requests' when using Instagram API with Python script Question: I am trying to run a script that logs in to Instagram and uploads 10 images that have random text on them that have been generated. However, here is the output I am getting when I try to run the script: 2023-01-02 …

Total answers: 1

selenium python TimeOutException during automation scraping

selenium python TimeOutException during automation scraping Question: is TimeOutException avoidable or is there any some way to fix this error? the problem is, its randomly occur in any lines, so i cant specific which lines got TimeOutException as for the code below, it appears on detail_topic. the error frequently happend when using actions such as …

Total answers: 1

Unable to access link from India in selenium python

Unable to access link from India in selenium python Question: I am trying to access a website using automation in python but that will work only from India. But I am unable to do so. The current code with the website link is as follows: from selenium import webdriver driver = webdriver.Chrome() r = driver.get("https://visa.vfsglobal.com/ind/en/pol/") …

Total answers: 1

how to create loop with autochain selenium?

how to create loop with autochain selenium? Question: im trying to create loop with selenium autochains on this website, because im unable to locate the paginate button(got error "JavascriptException" "Message: javascript error: Cannot read properties of undefined) hence im searching another alternative to using autochains. here is my code. for i in range(1, 15): root1 …

Total answers: 2

element not interactable on Amazon.com

element not interactable on Amazon.com Question: I’m doing a very simple test for an interview and I can’t click the "Start here" link, the error is element not interactable Here is the following code: Click Link xpath=//a[contains(text(),’Comece aqui.’)] Its a pretty straightforward element but still I cannot interact, inspecting the element I have: <a href="https://www.amazon.com.br/ap/register?openid.pape.max_auth_age=0&amp;openid.return_to=https%3A%2F%2Fwww.amazon.com.br%2F%3F_encoding%3DUTF8%26ref_%3Dnav_newcust&amp;openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&amp;openid.assoc_handle=brflex&amp;openid.mode=checkid_setup&amp;openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&amp;openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&amp;" …

Total answers: 2

Why getting this selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element

Why getting this selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element Question: I know already upload answer to this same question but I try them they are not working for me because there is also some some update in selenium code too. Getting this Error selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <div class="up-typeahead-fake" data-test="up-c-typeahead-input-fake">…</div> is not clickable …

Total answers: 2