Category "selenium"

How to exclude last line from scraped content in python selenium

content = driver.find_elements(By.XPATH,'//div[@id="content"]/p') Now there is a list of paragraphs that were scraped, like- content[0],content[1].....content[

How does appium and selenium grid function together

So I have tested an appium script and it's running fine but I want to run it with selenium grid so I can run this on a different machine but I am not clear on i

Getting TimeoutException: Message: timeout: Timed out receiving message from renderer: 300.000 only when using Jenkins for Switch Window on Chrome

I'm using different web urls in tabs in one browser, in order to get the required value from one website and add it to the other. I use a robot framework for th

Scraping video url from multiple pages of a website

I am doing scraping using selenium. i want to scrape all the video urls that are present in the 626 products on the 25 pages. but while extracting the url it gi

Import "selenium" could not be resolved Pylance (reportMissingImports)

I am editing a file in VS code. VS code gives the following error: Import "selenium" could not be resolved Pylance (reportMissingImports). This is the code from

How to extract the text iterating specific rows within a table using XPath with Selenium and Java

I want to iterate through this table and need to get a text from each row like text inside td= health1, health 2 and health 3, similarly, I need text inside the

python-selenium.common.exceptions.WebDriverException: Message: Unknown error

I'm up with python 3.8 and selenium but recently I downloaded the latest edge web driver zip file and runned the mswdedriver.exe from that and typed this code i

Debugging issue in testng test cases

I am using intelliJ v2021.3.2 (Community Edition) My project is a java Maven TestNG (v7.4.0) project When I run test cases it executes successfully, but when I

Allure is not generating report on cucumber 7

After updating the cucumber version to 7.2.3, Allure not generating reports. (unknown report and NaN%). It still uses the config file in the directory. I think

How to use selenium for webscraping google flights?

I'm trying to pull the airline names and prices of a specific flight. I'm having trouble with the x.path and/or using the right html tags because when I run the

Why did Selenium stop working today on Colab?

Screen Shot Link to workbook showing issue:` https://colab.research.google.com/drive/1Zf8YTHRLOL6-ez1SWvzZEVZpkelrG2Kz?usp=sharing !apt-get update !apt install

How to write a test case for the icon which is not displayed on the page due to permissions

I am trying to write test cases with the different Users with their permissions. I have a situation where there are two users Admin- with full permissions Layd

Testing UX with random IO?

So I've found a error in my UX that wasn't cought by test if I press besides a popup it goes into deadstate # they press ok btn = self.browser_adam.find_element

I disabled loading images in chrome while using webdriver with selenium now cant enable it

I disabled loading images in chrome while using webdriver with selenium now cant enable it. I was using python to webscrape on instagram so thought it would be

Web Scrapping Selenium , Multiple pages and product issue

i am doing scrapping using selenium but not able to get all the href of 25 pages and all 626 products listed by getting all the href of products and multiple fe

Chrome Devtools Network Selenium python

I am making a code with Selenium in Python and collecting data on a website, and I have noticed that in Chrome's Devtools specifically in the "Network" section

Selenium webdriver is opening the browser, but not opening the given url

This is the screenshot of the error I'm getting. I have recently taken up the task to learn functional testing and web automation using selnium webdriver with

Docker & Selenium-Java :- Unable to upload Image/file in chrome browser running on a docker container

I running selenium testcases with a remote driver on a docker container. I want to upload files to a chrome browser running on a conatiner. I have tried the fol

binary.startprofile is not working. startprofile is not present in selenium-jar file.I even tried old versions still not working

I am writing code in java with selenium- In my code binary.startprofile is not working. it is saying startprofile is not present in selenium-jar file. I even tr

extract all items in Google map search first page

I'm interested in Google map scrapping through Python and selenium. I want to scrap all the leads for a specific search. In the first page 20 leads are displaye