Skip to main content

Questions tagged [selenium-webdriver-c#]

C# Flavor of the Selenium Webdriver Library

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
512 views

Server gets incredibly slow when running Selenium

I'm attempting to run Selenium (Chrome) test on 2 servers, each running Windows Server 2019 Standard (with GUI). The first server (the one with the worst specs) has the following specs: It runs ...
Hasse Andersen's user avatar
3 votes
1 answer
586 views

Running Selenium not under a Testing Framework

I've been using Selenium for a while but with a slightly different scope (actually constraints). Instead of running a test for a particular site, I'm interested for instance in filling in a web form ...
Sebastian Inones's user avatar
2 votes
4 answers
8k views

Encountered Error Could not load type 'OpenQA.Selenium.Internal.IWrapsElement' from assembly 'WebDriver

I'm working in multiple browser testing. It was working code with chrome browser. Recently I have installed "Install-Package Selenium.WebDriver -Version 4.0.0-alpha04". MSedge Chromium and ...
Thiyagarajan's user avatar
2 votes
0 answers
3k views

Selenium c# how to get a window title by searching by its Handle Id?

In order to get a browser window title, the web driver must switch to the window by its Handle id: string title = driver.SwitchTo().Window("Handle ID").Title; I am testing opening multiples windows ...
Lolpez's user avatar
  • 141
2 votes
0 answers
1k views

Selenium Chrome Driver: How to Load all the Frames and get the Complete Page Source?

I'm developing an web application that monitor changes in other websites. I came across some of the websites and that contain load of Frame set and Frames. I'm using the below code: var ...
Heveen Kejiou's user avatar
1 vote
3 answers
13k views

Access is Denied Issue thrown at ChromeDriver Initiation step

Azure DevOps is triggering and running tests on a VM. All my tests are working fine on local machine. On VM, While trying to launch Chrome browser using ChromeDriver and WebDriverManager, tests are ...
JAbdul's user avatar
  • 11
1 vote
0 answers
532 views

How can i use an existing existing chrome browser instance in selenium C#

How do I use an existing chrome browser in selenium C# ? Currently I have the following but it always creates a new window SessionId sessionId = new SessionId(""); var driver = new phantomJSDriver();...
Pankaj's user avatar
  • 29
1 vote
0 answers
5k views

How to configure proxy settings for chrome in selenium c#

I want to configure the proxy settings for chrome web driver by using selenium 3.141.0 version in c#. var co = new ChromeOptions(); Proxy proxy = new Proxy(); ProxyIPAddress proxyIP = JsonConvert....
Shiza's user avatar
  • 11
1 vote
0 answers
70 views

Changed Selenium Framework

I am using this Selenium Set-Up in an older Project. (later called "Old-Project") Now I want to migrate this test to a Project with this Set-Up: (later called "New-Project) I am using a code sample ...
BlindRob's user avatar
0 votes
0 answers
25 views

Data clean up in selenium

I am doing automation testing of web browsers using selenium and the test includes that i create users, add personal details, approve, recommend and the likes. how do I clean up these data that has ...
Oluwabusayomi Temitope's user avatar
0 votes
0 answers
26 views

Web scrape - Not get any children elements

I have trouble in web scrape, come with short VBA for help on MSXML2.XMLHTTP60. VBA Code's Goal: get 5 class names(num,stock-ad,data,pan-cont-chart toggle_area) from parent element(pan-cont) URL: http:...
rose1205's user avatar
0 votes
0 answers
576 views

How to assert a line that is present on the chrome console?

Basically I am trying to automate if a player receives data from OBS. Besides manual, the best way I can think of how to automate would be to read and confirm that the player is receiving data from ...
DjNewma's user avatar
  • 43
0 votes
1 answer
4k views

Unable to connect to Remote Server using Selenium Chrome RemoteWebDriver

public static IWebDriver UserMultiUserSignIn (IWebDriver driver, string port, string hostName, string password, string Username) { string name = Dns.GetHostName(); ChromeOptions Options = new ...
JAbdul's user avatar
  • 11
0 votes
0 answers
1k views

Handle windows authentication pop up on Chrome using AutoIT

I am trying to handle the basic authentication pop up for my Selenium webdriver scripts using AutoIt in Chrome. I am using following AutoIt script: If WinExists("","Chrome Legacy Window&...
user avatar
0 votes
2 answers
277 views

mstest using testsettings file on bamboo?

I am using bamboo to run an mstest task. The mstest task runs selenium code and generates an extent report. I am wanting to pull the results from that report as an artifact in Bamboo. I accidentally ...
Greg P's user avatar
  • 209
0 votes
0 answers
341 views

Selenium C# Tests on Various Browsers

I would like to run my tests on multiple browsers but NOT in parallel. I want to provide a pop up to the user to choose which browser (IE, Chrome, Firefox) to execute all tests on when first started. ...
Daisy's user avatar
  • 1
0 votes
1 answer
224 views

Trying to select element from dropdown

After dropdown is expended how can I select an option from the dropdown which is in span image of the expanded dropdown https://prnt.sc/k-rFIUa6Ixeo HTML: <span class="ant-select-selection-...
Amel Krupalija's user avatar
0 votes
2 answers
554 views

How can we execute selenium automation script, without Visual Studio?

I am automating a web application using Selenium WebDriver in C# using Microsoft Visual Studio Professional 2019. Here is my question: how can we execute our automation script without Visual Studio? ...
Surya Rao's user avatar
-1 votes
1 answer
55 views

I am learning Page Model Object, i was trying to make this program work but i am getting the "NullPointerException" error everytime. can someone help

FrameWork code: package FrameWorks; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support....
Amit Dwivedi's user avatar
-1 votes
1 answer
219 views

cannot click on link Python Selenium

I am trying to add a confirmation link on selenium but selenium is not able to click on that link its on yopmail with name janemartin90452 It doesn't click on the confirmation link Name "Activate ...
Muazam's user avatar
  • 1