Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 97750 articles
Browse latest View live

Selenium No Such Element Exception - Python

I need to automate some stuff behind some hyperlinks from my university's SAP Portal. I figured using Selenium is the way to go here. But it turns out most of the web elements there are faked and...

View Article


Java parse HTML Code to Selenium Webelement

Is there mybe a way to paste HTML code to a Selenium Webelement? Sure i could just use the driver to to get the page HTML and than could use driver.findelement().But is there mybe a way to parse the...

View Article


selenium and tor NEWNYM not work to change identity for tests

i cant start firefox because this i use chrome with tor as proxy now i want selenium close browser and start with new identity. i was thinking thats can work with stem and controller but it doesnt...

View Article

How to execute Selenium Chrome WebDriver in silent mode?

When using Chrome Selenium-WebDriver, it will output diagnostic output when the servers are started:Started ChromeDriver (v2.0) on port 9515I do not want to see these messages, how can I suppress...

View Article

How to find previous WebElements relative to a particular WebElement with...

I have the below HTML snippet.<div class="header">Planets</div> <div class="event">Jupiter</div> <div class="event">Mars</div> <div...

View Article


Unable to locate element error in selenium webdriver node.js

I have put an if else condition in selenium webdriver node.js to check if a string contains an "Add New" string, but I am getting the error Unable to locate element: // *[contains(text(),'Add...

View Article

How to reference span class with the same name Python /Beautiful Soup

The Span Class text im trying to extract has the same name. - KambiBC-my-bets-summary__valuein the example html below, I'm trying to extract the following attributes into separate lists which can be...

View Article

Why so many Errors in my Eclipse for Selenium Project [closed]

i have written the write code and imported all Selenium Libs Still it is showing me errorsenter image description here

View Article


Appium click function is not clicking

I am automating an Android app. The scenario is like user logins and comes to the page. All previous clicks are working. But when the automation script comes to a page. It does not click the element...

View Article


When Chrome was updated, Selenium stopped working

I updated my browser from Chrome 75 to 77, and now my code has stopped working. I wrote a programme to take a vehicle reg checker, enter it into the government reg checker and return three bits of data...

View Article

How to make automation apps for android

How to make an app which can automate tasks like liking every post in my feed on Instagram. To make such apps what i'll have to learn other than android studio?

View Article

Unable to switch from native to WEBVIEW_chrome showing exception :...

I am testing web app on real device and use Chrome browser, I try Set collection and i’m getting both NATIVE_APP and WEBVIEW_chrome but when i try to switch to WEBVIEW_chrome using driver.context()...

View Article

is there a solution for conftest python file error

I am getting this error when I run login_tests.py(venv) C:\Users\PRAGITI\PycharmProjects\lrtskodeit\tests>py.test Home/login_tests.py --browser chrome ERROR: usage: py.test [options] [file_or_dir]...

View Article


Only partial content is extract from table?

I'm trying to extract content from a table however I'am only getting partial content.I have entered the correct web element but instead of extracting data from 200(approx.) countries, i only get 6...

View Article

Using result from Test 1 to start Test 2

I want to run 2 tests:Step 1 - open google, Step 2 - type in a search item, Step 3 - print out first entryStep 1 - user URL from Step 3 in Test 1, Step 2 - click url, Step 3 - verify a tag lineI cannot...

View Article


StaleElementReferenceException: Message: {"errorMessage":"Element does not...

Trying to scrap a website with around 800 page, The code stops randomly at random page number!( ex. for the first time i get error in 5th page, then next time i run, i get error at 500th...

View Article

Selenium webdriver: Modifying navigator.webdriver flag to prevent selenium...

I'm trying to automate a very basic task in a website using selenium and chrome but somehow the website detects when chrome is driven by selenium and blocks every request. I suspect that the website is...

View Article


dynamic table data retrieve - selenium webdriver

<table id="tblListViewHeader" class="adminlist" cellspacing="1" cellpadding="0" style="table-layout: fixed; width: 1003px;"> <tbody> </table> </td> </tr> <tr>...

View Article

Selenium Can't Get All Element on Instagram

I'm creating a script using Python selenium for scraping instagram user post. if user have a 62 post, I want get all of 62 post.I tried to scroll down until all post loaded and get element/post using...

View Article

Difference between running a browser in headless vs browser

I'm wondering what the difference is between running a browser in headless mode vs a regular windowed browser. Specifically, if the browser is run using Selenium, how would website's security system...

View Article
Browsing all 97750 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>