How to get rid of the BrowserStack Local extension popup using ChromeDriver...
Am just new to automation and trying to automate browserstack. And i successfully logged to browserStack and passed the credentials and clicked on adding chrome extension . There comes the popup and am...
View ArticleHow to open and access multiple (nearly 50) tabs in Chrome using ChromeDriver...
I'm trying to gather some information from certain webpages using selenium and python.I have a working code for a single tab. But now i have a situation where i need to open 50 tabs in chrome at once...
View ArticleAltair automatic save chart as svg using selenium chromedriver [duplicate]
I am trying to produce few charts in a loop and save them automatically.I am working on Windows, using Chrome.I have been following the documentation on how to save a chart in svg.I downloaded the...
View ArticleUnpausing debugger in Selenium environment hangs further execution for up to...
Question regarding Selenium and Intellij Idea Debugger. I run my Selenium tests on my local machine and I face a problem. Debugger doesn't show values and all fields show "Collecting data…".After...
View ArticleCreate dataframe from list of records
The purpose of this code is to open a web page which contain multi-page table, the script must scrape the whole table and finally convert it to a pandas dataframe.Everything went ok until the...
View ArticleIs there any framework for Android to automate operations on the website in...
I have an Android app that gets information from a website by a Rest Service. The Rest Service uses selenium web driver for connecting to a specific website, doing login and navigating by the site.I...
View ArticleSwitch pageLoadStrategy from eager to normal for existing driver
I set the pageLoadStrategy as eager but now the method I wrote to close popups of the website is not working(it works when pageLoadStrategy is normal). So I want to know how to change the...
View ArticleHow to get the Performance Log of another tab from Selenium using Python?
I'm using Selenium with Python API and Chrome to do the followings:Collect the Performance Log;Click some <a, target='_blank'> tags to get into other pages;For example, I click a href in Page...
View ArticleHow do I make Chrome Headless after I login manually
I am testing my site. I want the chrome browser to go headless after I manually enter the login credentials.My selenium code to connect to the website. var driverService =...
View ArticleChange ChromeOptions in an existing webdriver
Scenario: There is a requirement of downloading files from web hierarchy to local drive under same hierarchy.Example Web Hierarchy: Parent 1: Child 1: *File 1 Child 2: *File 2 When downloading File 1,...
View ArticleIn Python unittest, is there any way to write code that is run in the event...
I'm using the Python unittest library to write some tests with Selenium. One of these tests involves going forward from one page to the next, checking an assertion, and then returning to the previous...
View Articlehow to import pd.dataframe list to the end of an existing excel file without...
import time from selenium import webdriver from selenium.webdriver.common.keys import Keys from time import sleep, strftime from random import randint from selenium.common.exceptions import...
View ArticlePoor image quality when uploading same image with selenium using java
I am getting bad image quality when I upload image using selenium with java.Here is a code:imagePair.setFileLocation(downloadImage1(imagePair.getUrl()));...
View ArticleThere's no way i can find this element (facebook_bot)
I'm trying to build a facebook bot. But i'm unable to find an element. The actual element (as you see it without looking into the html code) is in a window (is the window that shows when you are trying...
View ArticleINFO: Detected dialect: W3C [Utils] [ERROR] [Error]...
I have tried to run this code but it won't run... It just shows an error INFO: Detected dialect: W3C [Utils] [ERROR] [Error] java.lang.NullPointerException Please help me with your valid suggestions I...
View ArticleHow to click on the reCaptcha using Selenium and Java
Why am I getting errors when trying to get the driver to click on the reCaptcha button? this is the site where i am trying to get it to work: https://rsps100.com/vote/760/This is my current code so...
View ArticleHow do i tell Selenium to wait until report get ready to download
After the selection of date from the date picker,clicking on 'View Report' button and then its take a time to generate the report and then it download the report.. My following code is working without...
View ArticleHow To Scrap Data From Button In Selenium Python
I Want To Scrap Data From This Button How Can i Do Using Selenium PythonHere is the button screenshot:Here is the website link: https://www.zameen.com/EstateAgents/Islamabad-3-152.htmlHere is my...
View ArticleHow to connect selenium container to localhost network with test containers?
I am trying to integrate selenium into test pipeline of my spring boot application.During test i run application (using spring boot test), after that testcontainers runs selenium. After that selenium...
View Article