Category "selenium"

I am getting io.cucumber.java.InvalidMethodSignatureException in Cucumber Java

My Feature file - Feature: Open google page @Sanity Scenario: Open google search Given User open google search Then enter text "hi" in search bar

How to get screenshot of the complete cookie banner of webpage in selenium python

enter image description here I am able to get the full screenshot of the webpage but not the cookie banner.Can i do it in selenium or i should use any other too

How can we click on an icon which is list in Python Selenium ('list' object has no attribute 'click' error)?

I am on an RPA project and I am trying an automation via a website. I am trying write xpad to click on the object I aim (with selenium) however it is a list and

Selenium - Why is some windows closing by itself while program not finished?

When I run the test.py file, windows open as many times as I want, it can log in and execute the necessary commands. But every time, random tabs closing by them

How to enter data in canvas?

I have a table on canvas, and I can click on a cell and enter data into it But HTML has no input. I can click and select the input(using screen points), but I c

How to Capture Full page screenshot of using selenium WebDriver

I have created a Selenium Full page screenshot test for Responsive tests using selenium. But if I am going to run against the SharePoint Site then it's not taki

Selenium Automation Upload file issue

While debugging I found out that my tests fail because of the unloaded file. I tried many different locators and checked the absolute path to uploading file, bu

docker-compose selenium grid

I'm using docker-compose version 2 to build a local selenium grid, and I'm running into trouble. Most of my trouble is coming from a lot of old blogs/documenta

Is there any possibility to insert HTML tag into the file which is reside on server through selenium automation?

I have created simple automation which will first read the read subdomain folder and then it will get into it and then find for the specific html file. If it wi

selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist with chromium browser and Selenium Python

I want to run selenium through chromium. I wrote this code: from selenium import webdriver from selenium.webdriver.chrome.options import Options options = Optio

Sendkeys does not work for uploading a folder in selenium c# in headless mode

The code is working fine in normal mode and it silently uploads the entire folder yet when executed in headless mode it does nothing. Just execute the line and

unknown error: session deleted because of page crash from unknown error: cannot determine loading status from tab crashed with ChromeDriver Selenium

I'm using InstaPy which use Python and Selenium. I start the script per Cron and from time to time it crashes. So it'r really irregular, sometimes it runs well

Selenium ignore if element not present

I have the below code for my selenium, where I need to click on carousel icons and get all the images one by one, but sometimes that carousel doesn't have more

selenium modify html read only input element with python?

Im trying to use selenium to clear a text field from a 'read only' input field. This part of the code, although i don't get errors, it doesn't work: from seleni

unknown error: DevToolsActivePort file doesn't exist when running in Docker

I am trying to run chrome using Python and selenium in a Docker container running alpine. It was running fine until one day when it started throwing the followi

Cannot query clipboard when running puppeteer in headless mode

The code below works when puppeteer runs with { headless: false } but fails when it's true. The error is DataError: No valid data on clipboard.. Why is this hap

Serenity BDD Hooks implementation returns error

I am trying to implement some hooks into the serenity BDD implementation with intellij. My hooks file looks like this: package steps; import org.openqa.seleniu

Selenium and Python - Bot for Instagram Login

I'm trying to create a bot to access instagram, but I don't understand why it's giving an error, here's the code: from time import sleep from selenium import w

How can I ignore the exception if the item is not found? Selenium(selenide)

Several of my tests refer to importBrokerCheckBox. But not all tests have to find it, because he must be absent. That is, if the element is on the page, then we

ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

For some reason I get the following error only when I open up a nested webdriver instance. No idea what is happening here. I am using Windows 10, geckodriver 0