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

python selenium chrome mobile emulator cannot slide

I am using python selenium to do a mobile website auto testing. I use the following code to open a chrome browsermobile_emulation = {'deviceName': 'Nexus 5'} chrome_options = webdriver.ChromeOptions()...

View Article


Selenium code to input values to text boxes from excel by opening browser...

I wrote a selenium code to read values from an excel sheet which contains 2 columns.I need to input these to 2 text boxes in a webpage .I do not want to use TestNG at this point .My issue is every time...

View Article


unable to click the kendo dropdown in selenium webdriver

Here is my selenium code:WebDriverWait fee = new WebDriverWait(driver, 10); fee.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//span[text()='select']")));...

View Article

Locating WebElement using different locators(NoSuchElementException)

I am having problem with locating WebElement using different locators. In the below html tag I tried locating the "write a review"WebElement with different locators like linkText,xpath,classname but...

View Article

How can I scrape the xpath for each link in the ``?

I am trying to write a program that writes code for me. Imagine that I have a <ul> list on a website and I need to scrape all the xpath selectors for each element on that list. Is there an easy...

View Article


Multiple container for selenium/standalone-chrome-debug:3.141.59-yttrium on...

can someone help me in understanding why multiple selenium/standalone-chrome-debug containers on the same host (EC2) are not working except 1.I am starting my containers asdocker run -d -p 4444:4444 -p...

View Article

Python > Selenium: Web-scraping in a "logged-in" environment based on links...

Compatible for ChromeDriverThis program seeks to accomplish the following:Automatically sign-in to a website;Visit a link / link(s) from a text file;To scrape data from each page visited this way;...

View Article

Image may be NSFW.
Clik here to view.

Clicking table element using Python Selenium

I am working with python and selenium to click on the Upload button on a facebook page. The HTML associated with this seems to have a within a table tag. The html is as in the following image. The...

View Article


Can't pass Google Chrome's alert after logging to Facebook automatically with...

const {Builder, By, Key} = require('selenium-webdriver'); const {Options} = require('selenium-webdriver/chrome'); const options = new Options().setAlertBehavior('dismiss'); let driver = new...

View Article


Wait for a page to fully load in Selenium

I am using selenium with Java. I want to wait for page to load fully before doing any action on that page.I have tried the following method, but it is failing to work as expected.public void...

View Article

Create a base driver class and inherit webdriver

In Python/Selenium, I am trying to create a browser class mainly so I can create custom functions like click or type, etc and easily call these by typing something simple such as browser.click(element)...

View Article

Define WebDriver path in build.gradle for Selenium test programs rather than...

For my Selenium test programs I have been defining absolute path to webdriver executables by setting System properties.For example - System.setProperty("webdriver.edge.driver", new...

View Article

java.net.MalformedURLException: unknown protocol: maps

I am getting Exception in Selenium Webdriver (Java)java.net.MalformedURLException: unknown protocol: mapsWhile Checking all Active Links(URLs) present on the page The Code is as follows:for(int...

View Article


another way to open the browser using the selenium module Python

how can I open the browser page without using chromedriver, for example, I want data to be saved in the main browser used by the user when executing the program, when data is not saved with the use of...

View Article

find element in new opened tab selenium c# [duplicate]

This question already has an answer here:Open web in new tab Selenium + Python 7 answersHow to find element in new opened tab selenium c#, here is code to open new tab and switch to it:new...

View Article


Sleep Interupt Exception: java.lang.InterruptedException: sleep interrupted -...

I am trying to download an excel report from an web based application, which takes 30 mins for it to start downloading after I click 'download' button (30 mins for it to get generated and start...

View Article

Reading Excel file with Selenium WebDriver C# and web form with values

I have a Selenium WebDriver script written in C# that reads some values from an Excel spreadsheet and then uses the values from the row to fill a web form. The challenge I have now is that it takes the...

View Article


Scrolling down to find element with text not working in android emulator

I am using Appium desktop server (v 1.15) along with java-client as 7.3.0 and selenium-server 3.141.59.In my android emulator, I need to scroll down to view a text and stop the scrolling once the text...

View Article

How to expand the reviews and scrape the text clicking for the next page...

I wish to scrape reviews from this url: https://seedly.sg/reviews/p2p-lending/funding-societies by using selenium.For my '''Automation of getting to the next page''' code (clicking for the next...

View Article

Web scraping of Yahoo Finance statistics using BS4

I am new to Python programming, but I have found some different code snippets and have compiled them into the code underneath. The Python script are returning all the right HTML values, from the...

View Article
Browsing all 97750 articles
Browse latest View live


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