Questions tagged [browser-testing]
89 questions
1
vote
1 answer
How to disable SSL check in Python Selenium to access microphone?
How do you disable Chrome's verification of self-signed SSL certificate?
I'm trying to unittest a mobile web app using Selenium in Python. Because it accesses the browser's microphone, it has to use https, even if it's just an ad-hoc or self-signed…

Cerin
- 60,957
- 96
- 316
- 522
1
vote
1 answer
How can I integrate selenium tests with sauce labs in c#?
On saucelabs website they provide a code snippet like this:
WebDriver webDriver = new WebDriver();
webDriver.set(new RemoteWebDriver(
new URL("https://UrlHEREagwgwgqwg4894+4+91gwgq")
))
When I add this to my tests, under WebDriver it says type…

dev_in_training
- 333
- 5
- 16
1
vote
0 answers
Laravel Dusk - Check box not clicking
I'm developing a few browser tests using Laravel Dusk for my VueJs/Laravel Application.
I'm trying to "check" a checkbox but I'm having issues. I managed to wait for its parent element to be visible, but when I check the checkbox and assert value to…

F. Rusconi
- 115
- 10
1
vote
0 answers
Laravel Dusk Select CSS Variable
I'm writing a browser test for my dark-theme. I'm trying to test that when the checkbox is checked, the variable var(--bg-color) is #3a3c3b. Now when I run this test it always succeeds even if I put some random stuff in the assert value.
public…

Tiezzymeister
- 11
- 3
1
vote
0 answers
Selenium: Why does chromedriver.exe randomly "freeze", failing my tests?
Given:
All the below are on Windows 10 / Server 2012 R2
Selenium .Net (C#) tests (Selenium.WebDriver nuget v3.141.0, .Net Framework v4.8)
ChromeDriver 78.0.3904.70
Google Chrome Version 78.0.3904.97 (Official Build) (64-bit)
Tests run automatically…

urig
- 16,016
- 26
- 115
- 184
1
vote
0 answers
How can I force the 'type' method in Laravel Dusk to completely input my test data in the browser
I have three test data [Checking, Shipping, Delivering] to input automatically using loop. It will not input the third one and that causes the test to fail. Here's the code.
Here is the code for my test data
private static function…

crisceebee
- 11
- 2
1
vote
1 answer
Selenium-IDE test can't switch browser windows
I'm writing a Selenium IDE script to test part of our website that opens a window that takes the user to a third party site that we integrate with. The test clicks a link on our website, that opens a new window on the third party site where we need…

GoatInTheMachine
- 3,583
- 3
- 25
- 35
1
vote
1 answer
How do I add additional data to Cypress failures?
I would like to log additional data when a test case fails. Where can I best insert my custom error handler?
For example:
cy.get('something')
.should('have.property', 'blah')
When this fails in the Cypress dashboard, I get:
CypressError: Timed…

dot_zero
- 1,030
- 3
- 12
- 26
1
vote
1 answer
Laravel dusk assert flash message
I have following flash message generated on my page
flash('Success message')->success();
Trying to assert through
->assertSee('Success message');
With no luck
…

Vojta
- 379
- 1
- 4
- 15
1
vote
3 answers
Test browser compatibility in an easier way
When I develop web-based applications or websites, I need to test browser compatibility to make sure that every browsers like IE, Firefox, Opera, Chrome, and Safari display the expected result.
I find that it is difficult to test across many…

Hafizul Amri
- 2,633
- 7
- 28
- 30
1
vote
1 answer
How to fix Katalon Recorder on Chrome
I am new to Kalalon Recorder. After installing the Katalon, while opening the plugin, it is opening in a new window.
Is there an option to fix the plugin in the browser, so that we can see both browser and the plugin same time.
I tried different…

Jithesh Gopinathan
- 428
- 5
- 19
1
vote
1 answer
Get QUnit Results Using MSTest/MSUnit
I'd like to load a browser page that is a static HTML test harness for a page running QUnit tests.
I'd like to get the values from the success/failure s and test with those.
How can I load a page and interrogate elements on it using…

StuperUser
- 10,555
- 13
- 78
- 137
1
vote
0 answers
CasperJS randomly fails simple tests
I am working on test suite and it's now passing most of the time but not always! Here is a sample of 5 very basic tests (index related tests). In those tests, the two lasts ones (assert url tests) are randomly passing (sometimes both fails,…

Richard Parker
- 11
- 1
1
vote
1 answer
how to use nightmarejs page events
I am writing nightmare script to test a website. The problem is for page events. There is a script