Skip to main content
Filter by
Sorted by
Tagged with
0 votes
3 answers
122 views

I'm trying to use asserts in selenium java. I read that for every validation, I need to use an assert as best practice. I stumbled upon this code example: WebElement button = wait.until(...
J. Script's user avatar
Best practices
1 vote
3 replies
85 views

I'm trying to use asserts in selenium java. I read that for every validation i need to use an assert as best practice. i stumbled upon this code example: WebElement button = wait.until(...
C.Sharp's user avatar
  • 85
-1 votes
1 answer
67 views

I’m using Python + Selenium + ChromeDriver to check a list of titles (from a CSV file) against an online library catalog. My script searches each title and tries to determine if a specific library has ...
huda's user avatar
  • 1
1 vote
2 answers
111 views

I'm a bit new to Selenium and am trying to build a webscraper that can select a dropdown menu and then select specific options from the menu. I've built the following code and it was working at one ...
Kaitlin's user avatar
  • 83
1 vote
4 answers
90 views

I am automating a confirmation request, and my code gets me all the way to the end, but when it comes to actually confirming my reservation, there is a popup modal window that appears as a layover on ...
Jose Torres's user avatar
2 votes
2 answers
92 views

I'm trying to get the second tab url using the following code - import time import os, sys from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver....
Rapid1898's user avatar
  • 1,565
-1 votes
1 answer
66 views

I'm using Selenium WebDriverWait in a Python function decorated with @timeout(). Since timeout is handled at the function level, I really don't need WebDriverWait to timeout. Is there a way to have ...
Geoff Alexander's user avatar
0 votes
1 answer
59 views

I'm trying to learn Java and using Selenium for my AQA tests. Here's a dummy website that offers different kind of forms / pages / buttons to train: https://play1.automationcamp.ir/forms.html? I'm ...
Владимир Придатко's user avatar
0 votes
1 answer
57 views

So I have been playing around with Selenium's POM (Page Object Model) specifically the FindsBy annotation. [FindsBy(How = How.XPath, Using = "//a[@attribute='some_value']")] public ...
Marius Swanepoel's user avatar
2 votes
1 answer
73 views

I'm having trouble understanding what are the differences between these two blocks of codes. Sending clicks both work in webdriverwait and find_elements. Code 1 from selenium import webdriver from ...
Aaron's user avatar
  • 79
0 votes
0 answers
42 views

Long story short: I am trying to write a function that will go through a table column, and as soon as it hits an exact match to a number I give it, it will start visiting the URL on each row after the ...
Daniel M's user avatar
0 votes
1 answer
116 views

I'm using selenium to rename and sort the medium to a folder based on the title of the page, but the page is still loading content in the background and the title of the page changes after firefox has ...
phpjunkie's user avatar
  • 475
1 vote
3 answers
86 views

I'm trying to scrape job listings on a career page. I'm trying to click the load more button, but cant seem to figure it out. i was wondering if someone could help me out -- I keep getting an error ...
redhorse's user avatar
0 votes
0 answers
51 views

I am getting NoSuchElementException for an element and because of which my regression suite is failing. I have used XPATH, CSS selector and when searched in Chrome using those locators, I am able to ...
user25207304's user avatar
1 vote
2 answers
276 views

I need to get Google Trends data for past 30 days, past 12 months like that for the purpose of my current project. I'm able to get daily data using Google Trends API. The package has another API ...
Rahim T.S's user avatar
-1 votes
1 answer
62 views

I am having an issue with selenium explicit wait for a button to be clickable. When the button webelement is returned by self.driver_wait.until( expected_conditions.element_to_be_clickable(...
rumpel360's user avatar
0 votes
1 answer
97 views

I am new to Java with Selenium and I am not being able to use WebDriverWait class. I have added dependencies for selenium and webdriver manager and also imported the class on the java class but still ...
user23393524's user avatar
0 votes
0 answers
32 views

I'm coding for a website that uses the transition screen below in between each data screen, including when you first connect to the site. So this screen appears before the initial login screen. My ...
JimmyG's user avatar
  • 657
0 votes
1 answer
51 views

I'm trying to scrape some data from around 1800 webpages with a similar table format using selenium python. I have a dataframe full of the links to each of the necessary pages. However, when I use ...
VSherr's user avatar
  • 3
0 votes
2 answers
62 views

I am having a great amount of trouble working with python selenium on a multi-dropdown url retrieval algorithm. In short, I'd like my program to go the the link (https://www.xpel.com/clearbra-...
VSherr's user avatar
  • 3
1 vote
1 answer
139 views

My python program with selenium has a strange behavior : it works very good when I start it in debug mode but not in normal mode. The FromDate is not taken into account in normal mode. I thought it ...
Jean Marc Canon's user avatar
0 votes
1 answer
252 views

Problem 1: I am using https://candymapper.com/ demo page to practice automation tests and I encountered the following problem. When I am using Javascript Executor .scrollIntoView, afterwards my ...
nerull7's user avatar
0 votes
1 answer
56 views

The website is https://www.nseindia.com/get-quotes/derivatives?symbol=AARTIIND Here is my code: driver.get("https://www.nseindia.com/get-quotes/derivatives?symbol=AARTIIND"); try { wait....
rusty's user avatar
  • 1
0 votes
1 answer
407 views

I am trying to use WebDriverWait for condition to be true. If it's not true after timeout, continue - instead of timeout exception. new WebDriverWait(driver, 10) .pollingEvery(Duration.ofSeconds(1)...
golu's user avatar
  • 999
0 votes
1 answer
52 views

I can´t select a button with a specific text (hence can´t do click on it). This is a image of the button: and this is its html code: When using WebDriverWait and the text 'Confirm payment', the ...
Claytor's user avatar
  • 51
0 votes
0 answers
25 views

In any scenario in automation where implicit wait will fail every time but explicit wait will pass even both having 10 sec default Time ? Its not as depend upon condition e.g clickable point of view. ...
coded Noob's user avatar
0 votes
1 answer
63 views

I'm trying to run a script that automate a certain task. Which is: Chrome searches website Login to website (Fill in details) Navigate to a tab (Called Jobs Listings V2) Input a product barcode on &...
Meeaad Bharoochi's user avatar
0 votes
2 answers
173 views

I have been unable to get the rating number from the website https://www.hoka.com/en/us/mens-everyday-running-shoes/rincon-3/1119395.html using selenium. This is what I have as Python code: from ...
hanna's user avatar
  • 5
1 vote
1 answer
62 views

I'm looking for some numbers on https://tnnslive.com/ The numbers I'm looking for on tnnslive.com: If I copy the xpath in Chrome, I get: //*[@id="root"]/div/div/div/div/div/div/div/div[2]/...
janosch1931's user avatar
0 votes
0 answers
34 views

I want to use WebDriver.Wait() function inside a while loop. While loop is used for scrolling an infinite scroll website. I want to have a wait between last_scroll and new_scroll to get page content ...
Waqas Ahmed's user avatar
0 votes
1 answer
809 views

I'm having trouble locating element <input class='search-text'...> and would like to place the text 'hello' into the text box. Trying to locate the input class='search-text' My webdriver code is ...
yummybagels's user avatar
0 votes
2 answers
980 views

There is a cookie on this page which i have tried to close using selenium java and testNG but not closing. The url is https://hausrat.allianz.de/ Below is my code: public void closeCookieNotification()...
Sheriff Sulemana's user avatar
1 vote
2 answers
486 views

I want to click the send e-mail button in the code below, but I cannot access any fields such as selector, xpath ... and click the button. When you run the code, you will see that it already opens and ...
B.12's user avatar
  • 21
2 votes
2 answers
4k views

I have entered correct from the developer tool xpath still it is not macthing element. How can find the xpath or other locator for google search box. HTML: <input id="input" type="...
BRAJESH KUMAR's user avatar
1 vote
1 answer
155 views

Test have multiple clicks which redirect to other page so I added some explicit waits there but when test is executed Selenium ignores one of two waits and performs click. And only then explicit wait ...
fbx61588's user avatar
0 votes
1 answer
208 views

Is it possible to globally override the IGNORED_EXCEPTIONS for WebDriverWait? rather than having return WebDriverWait(self.browser, 10, ignored_exceptions(StaleElementReferenceException, ...
Brian Mitchell's user avatar
1 vote
1 answer
760 views

I want to access this element: div data-v-658f4ceb="" class="trn-gamereport-list trn-gamereport-list--compact"> I know that since it has multiple names in the class I would ...
internshiphopeful's user avatar
1 vote
1 answer
100 views

I'm utilizing code from this tutorial: https://towardsdatascience.com/how-to-use-selenium-to-web-scrape-with-example-80f9b23a843a When running the Python script, the Webdriver does pick up the desired ...
hypnoticbanana's user avatar
0 votes
2 answers
104 views

I'm scraping Tradingview. On that website is this chart: I'm trying to double click the red circled element on the chart. When my code tries to double click it, it doesn't get double clicked. This is ...
Samaara's user avatar
  • 51
1 vote
1 answer
825 views

I have a website which has a button "show more", which one can click as often as one likes. At some point, there will be a <span> with same name and as soon as I see that one, I want ...
Klinger's user avatar
  • 75
0 votes
1 answer
271 views

I am scraping Tradingview.com and I'm trying to get my code to right click on the chart but it can't do it. This is my code: # import modules import time from selenium import webdriver from selenium....
Samaara's user avatar
  • 51
0 votes
1 answer
325 views

I am trying to write a test in Selenium, but for some reason my wdwait line of code in below method is failing with error message in title. When I comment the wdwait line, test passes normally. What ...
nerull7's user avatar
1 vote
1 answer
199 views

Below there is some html that I can extract Text with Selenium driver. <td colspan="2"><strong>Owner</strong> <div ng-class="{'owner-overflow' : ...
Leo Torres's user avatar
3 votes
1 answer
50 views

I am a newbie to selenium automation and I am trying to run this test script. Unfortunately, a cookie consent kept popping up which I believe is obstructing my script from completing. How do I perse ...
taerese's user avatar
  • 77
1 vote
2 answers
4k views

I've tried several xpaths but non could be used to pass my test. I'm a new comer in the automation world and I'm struggling with this particular problem. I'm trying to locate the element with text ...
Robin Hossain's user avatar
0 votes
1 answer
93 views

I have a problem to find element "Next Button" and click that with Selenium in Python within the webpage Code trials: try: driver.find_element(By.CSS_SELECTOR, ".artdeco-...
Nimo Db's user avatar
  • 45
1 vote
2 answers
155 views

I'm writing a test which needs to store password inside the browser for a dumb site and I'm performing this task with Selenium Python. I'm able to load chrome://settings/passwords without problem. The ...
Marco's user avatar
  • 707
0 votes
2 answers
104 views

Using Selenium & Python I need to click on targets.simple.csv download a .csv file from this page: https://www.opensanctions.org/datasets/default/ Here is the code I have written: import pandas as ...
Giampaolo Levorato's user avatar
10 votes
2 answers
42k views

I need to automatically download using Python a .csv file that is in this web page: https://pace.coe.int/en/aplist/committees/9/commission-des-questions-politiques-et-de-la-democratie Now, I have ...
Giampaolo Levorato's user avatar
1 vote
1 answer
108 views

I am trying to send automated google chats but the element of the text box in which I write the message has no <input> tag. The <div>s are not taking input. Here is the structure of the ...
Mike Johnes's user avatar

1
2 3 4 5
53