All Questions
Tagged with selenium-webdriver c#
11,150 questions
0
votes
1
answer
29
views
How to locate popup via Selenium
I am trying to programmatically download a file from a webpage. I can navigate to the page and click the 'Download' button, but that button opens a new window to set the download location and click ...
1
vote
2
answers
58
views
How do I get element value with GetAttributeAsync in Playwright
I am converting a old Selenium/C# test suite to Playwright/C# and it is going very well apart from one little issue, which is....
In the Selenium suite this code correctly returns the value from a ...
0
votes
0
answers
31
views
Selenium Chrome in AWS Lambda: OpenQA.Selenium.UnsupportedOperationException: disconnected: not connected to DevTools
I'm trying to download a file using Chrome in an AWS Lambda function with Selenium. When deployed to AWS, I encounter the following issue. It logs info till 1.1 and after that throws an error
...
0
votes
1
answer
62
views
C# Finding IWebElements inside of an embedded object
I need to programmatically click the 'Download' button for a PDF on a webpage. The button is embedded inside of an iframe. In C# I can locate the 'embed' IWebElement after switching to the iframe but ...
0
votes
1
answer
65
views
How to disable Google Password Manager during automated tests
I am running automation tests using Chrome, Chromedriver 135.0.7049.42 and Selenium.WebDriver 4.30
During the test, I enter the password and then the "Google Password Manager" dialog appears....
0
votes
1
answer
117
views
System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 135
I know there are so many threads regarding this but my issue is a bit different.
My Browswer version is 134.0.....
My ChromeDriver Version is 134.0...
and Chrome Version 135 is not available yet for ...
0
votes
1
answer
45
views
AWS Lambda Selenium Error in C# : WebDriverException - Exec format error running Chrome
I am trying to download a file from Chrome using the Selenium library in C#. It works locally, but when I deploy the Lambda function on AWS, it throws an error:
Exception Type: WebDriverException,
...
0
votes
1
answer
59
views
How do I view progress output in a azure pipeline
We have a collection of automation tasks which run tests against our apps. We use Visual Studio/C#/Selenium and Playwright and when running locally Console.Writeline, Debug.Writeline or Trace....
2
votes
1
answer
45
views
Problems with Browser Options on Selenium
So I have a class and some methods inside, many of this methods interact directly with the drive and I want to add --headless in the browser options.
But if I star the browser at the beginning I cant ...
1
vote
1
answer
47
views
How do I set cookies in Playwright test
In our old selenium/C# test suite we are setting cookies thus, and this works very well:
private static void AddCookies()
{
var cDom = TestUrl.Replace("https://", "")
...
1
vote
1
answer
39
views
C# Selenium "window.angular is undefined" when waiting for elements to be displayed
I have a C# automation framework with Selenium, Webdriver and XUnit.
I have the following issue on my app, but I will give you an example using StackOverflow page, as I get the same issue.
I have a ...
-1
votes
1
answer
44
views
The first loop for printing driver.WindowHandles giving me 2 window handles when only one window is opened
for getting the number of window handles after opening one window and after opening one more window.
the first for loop is giving me 2 window handles instead of 1,when only 1 window is opened.
whereas ...
1
vote
0
answers
34
views
How do I open a file on remote mac from automation tests on PC
Using VS/C#/Selenium/.Net 8.0 for a large set of regression tests which work fine on Windows with Chrome, Edge and Firefox on Windows.
However not so well on Mac with Safari with which we are using ...
0
votes
1
answer
46
views
how to handle browser popup of citrix C#
I am unable to handle citrix browser popup.
I am trying to automate a web application running inside a Citrix-controlled browser. However, I am unable to interact with a popup that appears during ...
0
votes
0
answers
41
views
C# Selenium - Getting a message Unable to receive message from renderer on local machine as well as in Devops
I am getting an error message like below even though the test scenario is getting executed correctly and the testcases are getting passed. This error message is displayed in my local machine as well ...