All Questions
Tagged with google-chrome c#
1,071
questions
0
votes
0
answers
47
views
Why does the web request use internet settings?
Hello I have an application, middleware application,
When I use C# HttpWebRequest it exhibits the same behavior as Internet explorer.
I cannot access a site with Internet Explorer that I can access ...
1
vote
1
answer
147
views
ChromeDriver - element can be located on Chrome v125 but not on v126
I have a C# Selenium test that fails to locate an element on Chrome v126. This works fine on Chrome v125, and using the same CSS selector on Chrome v126 browser console works fine. Has anyone ...
0
votes
0
answers
114
views
Selenium issue: DevToolsActivePort file doesn't exist (SessionNotCreated)
since a week ago, we are facing an error when we start the ChromeDriver in a Selenium project. Our C# piece of code is:
var options = new ChromeOptions();
options.AddArgument("--no-sandbox");...
1
vote
2
answers
259
views
Unity Android app crashes when installed from Google Play Store
I have made an Unity app for Android and uploaded it to the Google Play Store.
Everything worked fine, I have made and uploaded several updates without any problem.
Recently I found out that the app ...
0
votes
0
answers
23
views
How can I call Windows auth form similarly to the Chrome?
I want to get the Windows authorization form like a Chrome password manager:
Windows authorization form using in Chrome
Is there a ready-made solution with source code?
I'm prefer to use C# and .NET, ...
0
votes
0
answers
58
views
API endpoint working in all browsers but Chrome
C# API Application in .Net 6 run in VS 2022
When I debug and run locally - hit the following endpoint in a browser:
http://localhost:54471/api/Books/GetBooks
This works in FF and Edge and I can step ...
-1
votes
1
answer
36
views
Unable to click 'Accept All' on the "Before You Continue To Google" pop-up. Selenium WebDriver C#
I am trying to write a simple Google Search test using Selenium WebDriver C# However, when I hit the "Before you continue to Google" pop-up my tests are unable to click on the 'Accept All' ...
0
votes
0
answers
54
views
Launch URL from C# and detect when browser is closed
Is there a way to open a webbrowser and detect when the browser is closed through C#?
The basic approach is to use Process.Start and add an event listener to Exited; this works for other programs like ...
1
vote
1
answer
504
views
Cannot Connect to Existing Chrome Instance with Playwright
I am attempting to have Playwright connect to an existing Chrome instance that is already open, so that I can avoid logging in each time. I have tried numerous times to use StorageState or SetCookies,...
0
votes
1
answer
228
views
Where to find the latest chrome driver to use with selenium
I’m searching for a source or way to find the latest chrome driver in order to make my project work using selenium.
I’ve tried to follow the link presented by visual studio code however the best I can ...
0
votes
1
answer
106
views
WebDriverManager can't locate chrome-for-testing in Linux ARM64
I want to run Selenium with Chrome on Linux ARM64, using .net 6 program dockerized.
.csproject
<PackageReference Include="Selenium.WebDriver" Version="4.18.1" />
<...
0
votes
1
answer
31
views
Process.Start() Google and select account
I'm trying to open the google browser, but whenever I open google I'm requierd to choose an acount.
How can I make the app to open google and choose an acount??
the code I'm using:
string[] sites = { &...
0
votes
1
answer
85
views
Windows Service Interacting with Browser
I have a Windows service installed on user computers. The user logs into my website. How can I have the service pass an ID to my server when a user clicks a button on my website. There’s no log-in ...
-2
votes
1
answer
61
views
C# - disable MinimizeBox, MaximizeBox and SizeBox on Chrome window
I need to launch Chrome.exe and then disable MinimizeBox, MaximizeBox and SizeBox.
If I run this code with "notepad.exe" program it works.
You can see that notepad.exe window doesn't have ...
0
votes
0
answers
118
views
Why am I no longer in a Connected State in my blazor application server app?
My blazor server application is hosted on IIS, written in C#, using the Chrome browser, and with SQL server as the backend. My issue is that I have a modal page that gets information inputed into it, ...