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 ArticleWhen 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 ArticleSymfony, 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 Articlepython 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 ArticlePassing 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 ArticleHow 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 ArticleWebDriverException: '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 ArticleScraping 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 ArticleSelenium 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 ArticleAWS 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 ArticleSelenium 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 ArticleSelenium 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 ArticleCan 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 Articleunable 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 ArticleUnable 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 ArticleSelenium 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 ArticleUnable 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 ArticlePython: 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 ArticleHow 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 ArticleWrite 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