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

How to get xUnit Current Test Name?

In nUnit we can get current test name like TestContext.CurrentContext.Test.Name that I am passing in Sauce Labs with ChromeOptions to show method name in saucelabs like belowChromeOptions options = new...

View Article


When I am using SendKeys to send the date in the field and when I am running...

package debut.Ifinca.NewOrder; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.support.ui.Select; public...

View Article


Symfony, PHPUnit : Client Webdriver Authentication

I need to authenticate my WebDriver Client for functional tests.For example, In my integration tests, i'm doing something like that : namespace Tests\Controller; use App\Entity\Donor; use...

View Article

python tkinter not setting option menu to a variable? trying to work with...

I am trying to make a GUI that if I set the options menu to option a, for example, it will open the website and search whatever I write on the website for some reason, my code just does nothing after...

View Article

Passing WebElement as parameter to implicit wait method

I wrote the below method in my Page.class for reusing implicit wait.public WebDriver waitForElementToLoad(WebElement element) { WebDriverWait wait = new WebDriverWait(driver, 60);...

View Article


How to Take Advantage of Scrapy's Concurrency With Non-Selenium Requests

I've got an interesting problem here. I'm writing a Scrapy web scraper to obtain products off of a website. The catalog pages use lazy-loading, which means I cannot obtain more than the first 12 items...

View Article

WebDriverException: 'chromedriver.exe' executable may have wrong permissions

I know there are already a couple threads about this, but I've went over them all, and this is my 3rd day trying to break through and haven't made any improvements. Here is the situation: I'm trying to...

View Article

Scraping of protected email

I need to scrape emails from the website. It's visible in a browser but when I try to scrape it with requests\BeautifulSoup I get this: "[email protected]"I can do this with Selenium but it will take...

View Article


Selenium navigate().to() stuck without error

I am running tests using TestNG, chromium and Selenium, in Java, on two machines:my own laptopa Mac Mini I do not have physical access to, that I connect via SSH, that has the same identical project...

View Article


AWS user data containing selenium-java program doesnt run

I am trying to run a java program on an AWS spot fleet, on startup, so that i can perform a stress test. Below is the user data script#!/bin/bash cd /home/ec2-user echo "y" | curl...

View Article

Selenium download file automatically c#

I'm try to setup Firefox in order to be auto-download files. I did how suggested in enter link description here, But I cannot get it to work.This is my code:FirefoxOptions options = new...

View Article

Selenium Web Driver with Itellij IDEA-Java [closed]

When I start a test, I get the following error. What should I do to resolve this error.Starting ChromeDriver 78.0.3904.105 (60e2d8774a8151efa6a00b1f358371b1e0e07ee2-refs/branch-heads/3904@{#877}) on...

View Article

Can not find element in XPath with Selenium driver

Every time I load up python script the Xpath for the Facebook login button and popup button has to changed manually every time before I login. How do I change this so that I dont have to enter the...

View Article


unable to select particular kendo dropdowns in selenium webdriver

I'm a beginner in selenium webdriver, i'm trying to select one option from the listed dropdown but its not happening but some other dropdowns are performing very well. please guide me to get this...

View Article

Unable to hide "Chrome is being controlled by automated software" infobar...

After updating Chrome to version 76, I cannot figure out how to hide the "Chrome is being controlled by automated software..." notification overriding some controls on the page.The latest stable...

View Article


Image may be NSFW.
Clik here to view.

Selenium xpath issue

I am having a very strange issue using selenium and xpath. I am having a page that renders 25 <a>'s with nested <img/> tags. I need to get using findElements() all this elements. If i get...

View Article

Image may be NSFW.
Clik here to view.

Unable to identify elements in a specific page, using Selenium WebDriver with...

I am working on a banking application which has Frames and Forms. I was able to identify webelements from Page 1 and 2. In Page 3, none of the webelements are identified. Am I missing something. Please...

View Article


Python: How to use RegEx to search a partial text in Dictionary from a Pandas Df

How can i use RegEx to search for an output inside a dictionary?I have a code that creates a dictionary based on a csv file, using Pandas. This allows me to browse for an answer from a user...

View Article

How to run Edge (Chromium) in Selenium with Python?

Microsoft recently released a blog where they talk about the new Edge browser coming out and how to test it with Selenium:...

View Article

Write cleaned BS4 data to csv file

from selenium import webdriver from bs4 import BeautifulSoup import csv chrome_path = r"C:\Users\chromedriver_win32\chromedriver.exe" driver = webdriver.Chrome(chrome_path)...

View Article
Browsing all 98775 articles
Browse latest View live


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