Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
0 votes
0 answers
49 views

Problem: I'm currently creating my first synthetic tests in datadog. I'm encountering some difficulty testing whether a form field is disabled or not. I can't select disabled elements for assertions. ...
Brian Durel's user avatar
0 votes
1 answer
3k views

I need to test something on Safari, and right now I do not have safari browser and using ubuntu. What can i do? I tries using PlayonLinux but it installs the oldest version which isnt even supporting ...
AbdulRehman Rizwan's user avatar
1 vote
1 answer
118 views

As part of Oath 2.0 client credential (response type code and ,microsoft SSO) automatio , I need to retreive token from the browser logs (from n/w tabs or response headers) that bearer token can be ...
Rekha Chotara's user avatar
1 vote
1 answer
420 views

I need to assert the styles of an element directly from the Dusk tests. In my application, I changed some styles of elements based on a specific condition. e.g. For invalid users, I changed the ...
Shahab.es's user avatar
  • 409
0 votes
0 answers
799 views

I have successfully installed Selenoid on my Mac and can view the ui, but when I try run the tests I get "Requested environment is not available" error and I even can't create the sessions ...
NeginM's user avatar
  • 1
0 votes
1 answer
574 views

While testing web application(next.js) with the menu on the left and functionalities like notifications at the top I experienced the problem with clicking on the dropdown button. Steps: Robot clicks ...
larry's user avatar
  • 1
0 votes
0 answers
387 views

I have a React component which internally creates a script DOM element. There is a bunch of logic around handling onload and onerror events of this script. The onload and onerror handlers are internal ...
HIT_girl's user avatar
  • 885
0 votes
1 answer
311 views

I would like to set the window-position within the total available screen, so it takes up half of the screen-size and is positioned at the right end of the screen with its right border. Couldn't find ...
Ida's user avatar
  • 3,975
0 votes
1 answer
532 views

I am trying to run this fixture code: |script |Browser Test | |open |https://jsfiddle.net/ygjL7hnm/3/show| |click |Run this fiddle ...
marc's user avatar
  • 29
2 votes
0 answers
290 views

I am trying to add an input consisting of multiple lines to a textarea. The textarea: <textarea dusk="input-field"><textarea> I have tried multiple ways of making this happen, ...
NETDev's user avatar
  • 199
1 vote
1 answer
6k views

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 ...
Cerin's user avatar
  • 65.5k
1 vote
1 answer
628 views

On saucelabs website they provide a code snippet like this: WebDriver webDriver = new WebDriver(); webDriver.set(new RemoteWebDriver( new URL("https://UrlHEREagwgwgqwg4894+4+91gwgq") )) ...
dev_in_training's user avatar
2 votes
1 answer
251 views

I want to write some browser tests using phpunit-selenium, Now this is my test class <?php namespace Tests\System; use Tests\TestCase; class LoginTest extends TestCase { /** * @test ...
Mohammad.Kaab's user avatar
1 vote
0 answers
613 views

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 ...
F. Rusconi's user avatar
0 votes
2 answers
928 views

I am using this ("browserstack/browserstack-local": "^1.1") package to run dusk tests on BrowserStack. Now the requirement is to run tests on multiple and different devices with ...
Hassan Hafeez's user avatar
-1 votes
1 answer
875 views

I tried of connecting http://localhost:3000 through my local ip address like http://mylocalipaddress:3000, but still the local site is not working for mobiles and tablets. Is there any way to connect ...
skp's user avatar
  • 43
8 votes
2 answers
5k views

I have the following test, written in Cypress. I use VueJS with SSR support for my frontend. My app it’s an SPA and I am testing the user click on a menu. before(() => { // mock data etc. }); ...
Chrisss's user avatar
  • 107
4 votes
0 answers
521 views

Yesterday, I run my Laravel Dusk tests and they worked fine, today I run them and 8 out of the 13 fail, most of them with "stale element reference". I've made some modifications to the app ...
Petar Vasilev's user avatar
1 vote
0 answers
556 views

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 ...
Tiezzymeister's user avatar
1 vote
0 answers
1k views

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 (...
urig's user avatar
  • 16.9k
0 votes
0 answers
700 views

I have node 12.14.0, npm 6.13.4 and testcafe 1.7.1 in my Windows 10 PC. I am trying to run a basic sample script using the command testcafe chrome test1.js: import { Selector } from 'testcafe'; ...
Janaaaa's user avatar
  • 1,426
2 votes
0 answers
422 views

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 ...
crisceebee's user avatar
1 vote
3 answers
5k views

I am setting up Browser Test with Laravel 5.7. Install Laravel Dusk. My very beginning php artisan dusk command return errors My Chrome is version 76. Initially, I see "Chrome version must be between ...
Cheng Shi's user avatar
  • 240
16 votes
2 answers
22k views

After reading the Cypress documentation on web security and when to disable it, I've decided I indeed need to do it. Is there a way to disable this just for one particular test/test suite? I'm using ...
DurkoMatko's user avatar
  • 5,904
0 votes
1 answer
326 views

When using Fitnesse, Slim and the Browser Testing framework I was given the challenge to count the amount of items within an ordered list (simplified): <a> <b>1</b> <b>...
eymas's user avatar
  • 105
1 vote
1 answer
2k views

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 ...
dot_zero's user avatar
  • 1,050
0 votes
1 answer
674 views

I have a filter and one option is to choose a device-type. There is a list of possible options and you can only use one of the options (so no plain text) The filter-field is named typ_id and can be ...
RoastInHell's user avatar
0 votes
0 answers
295 views

Simple question, can't find anything satisfying on Google. What is the difference between ->assertSee and ->See? Which should I use to check content from a page?
RoastInHell's user avatar
1 vote
1 answer
1k views

This has definitely been answered more then once. But I don't get it for my case. So I am writing browser-test for a part of our projekt. The function is, that there are users, that can login and ...
RoastInHell's user avatar
0 votes
0 answers
942 views

I'm trying to write a script that will navigate a page on the browser. One of the first things I need to do is close an alert that appears. Once the alert is close I need to enter a user name and ...
Zach's user avatar
  • 33
1 vote
1 answer
732 views

I have following flash message generated on my page flash('Success message')->success(); Trying to assert through ->assertSee('Success message'); With no luck <div class="alert ...
Vojta's user avatar
  • 379
1 vote
1 answer
556 views

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 ...
Jithesh Gopinathan's user avatar
3 votes
1 answer
3k views

I am developing a Web application using the Laravel framework. I am running Dus/Browser unit testing on my application. But now I am having problem with asserting if the selected element exist. I ...
Wai Yan Hein's user avatar
4 votes
2 answers
4k views

I have written a Laravel Dusk test. I am trying to assert whether some text is visible after the modal is open. So, I am using the whenAvailable method. But it fails while I can see the text in the ...
Debiprasad's user avatar
  • 6,243
0 votes
1 answer
1k views

I got this result after running Unit Test. Result: 1) Tests\Functional\Controllers\Api\UsersControllerTest::testUsersIndex Unable to find JSON fragment [[{"email":"[email protected]","id":"706"}]] ...
Davron Achilov's user avatar
0 votes
4 answers
2k views

I just discovered Laravel Dusk, and wrote first test, which had to check for text on the page, but Laravel Dusk doesn`t see my page. Test: namespace Tests\Browser; use Tests\DuskTestCase; use ...
vladimirch's user avatar
2 votes
1 answer
70 views

I often want to refer, generally, to automated browser tests (like Selenium or PhantomJS). The only terms I've heard describe it unambiguously are quite long, and make them unwieldy in conversation ("...
aaaidan's user avatar
  • 7,386
3 votes
2 answers
105 views

Is there any tool or plugin which we can incorporate with existing Functional Automation Test suite. Earlier till 2011-12 we were using Dynatrace Ajax edition. It was a plugin for Chrome and IE. We ...
Chetan Sharma's user avatar
0 votes
3 answers
2k views

Does anyone know how to test vuetify v-select with laravel dusk? I've tried $browser->select('size', 'Large'); without success this is one of the v-selects that i want to test <v-flex class="...
Eder Ramírez Hernández's user avatar
3 votes
3 answers
3k views

I want to choose a drop-down option based on its text,what should i do? This is my Html code : <select name="category"> <option>Appliances</option> <option>Sporting ...
Mahsa kia-rad's user avatar
8 votes
3 answers
19k views

I am new to Puppeteer and Node and I get this error when trying to execute the following code: 'use strict'; const puppeteer = require('puppeteer'); const evalLib = require('./oaa_a11y_evaluation.js'...
Mihir Kumar's user avatar
0 votes
2 answers
6k views

I need to run test cases on multiple browsers, while using webdriverIO. Despite going through several articles and documentation of WDIO, I couldn't find a way in which works. this is my wdio.conf.js....
Piyush Das's user avatar
166 votes
8 answers
284k views

In puppeteer I would like to wait a defined time before going to the next line of code. I've tried to put a setTimeout in an evaluate function but it seems to be simply ignored console.log('before ...
Pipo's user avatar
  • 5,771
0 votes
1 answer
1k views

In puppeteer , when i want to use console.log from evaluate , it triggers me an error const puppeteer = require('puppeteer'); (async () => { const browser = await puppeteer.launch({headless: ...
Pipo's user avatar
  • 5,771
29 votes
7 answers
36k views

I would like to launch a Google Chrome browser with language Spanish es using Puppeteer. I've tried puppeteer.launch(args:['--lang=es',...],...) but it didn't work. I've tried passing the ...
Giorgio's user avatar
  • 13.6k
0 votes
1 answer
1k views

I am a newbie Laravel Dusk. I am trying to write a scenario that click a link a[href] then assertSee something. i have been spending whole day but just cant. <li> <a ...
daniel8x's user avatar
  • 1,092
3 votes
1 answer
1k views

I want to wait for web components in the page to upgrade before running any TestCafe tests (In other words, wait for WebComponentsReady event before running tests). What is the best way to do this?
Varunkumar Nagarajan's user avatar
-1 votes
2 answers
784 views

I have 3 typescript algorithms I need to benchmark in the browser. I tried area51, area51 is only for JavaScript. I also found a pastebin: //pastebin.com/gCs9CB5F Can someone give me a hint how to ...
Amb_Olatunji's user avatar
2 votes
3 answers
1k views

Straight up been looking for answers to this question for months, still no idea how to actually do it - how does one automate tests that run in the browser? Selenium tests run on the backend and of ...
Alexander Mills's user avatar
4 votes
2 answers
2k views

I'm trying to test mails within browser tests in Laravel 5.4. I have this code in a InvitationTest class inside a browse callback function: \Mail::fake(); $browser->visit('projects') ->...
rap-2-h's user avatar
  • 32.3k