Questions tagged [selenide]

Selenide is a framework for writing easy-to-read and easy-to-maintain automated tests in Java.

selenide
Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

How to run tests concurrently but execute classes within each test sequentially using TestNG XML configuration?

I want to configure my TestNG XML file to achieve concurrent execution of tests while ensuring that the classes within each test run sequentially. Currently, I have set the parallel attribute to true ...
Devibala's user avatar
0 votes
0 answers
19 views

selenide https request seems to be http

I think the problem I am getting performing a basic selenide test getting the following error: java.lang.IllegalArgumentException: Invalid character found in method name [...
Ian's user avatar
  • 414
0 votes
0 answers
27 views

The socket is hanging. Appium and Selenide [closed]

I am trying to run tests for android using solenoid, docker, appium and selenide. An error occurs during the execution of the tests: 2024-04-03 12:29:39:667 - [debug] [BaseDriver] Valid locator ...
nastya's user avatar
  • 11
0 votes
1 answer
66 views

Could not start a new session. Response code 500

Please help me.I use WebDriverManager for configuration drivers. Configuration.browser = "edge"; WebDriverManager.edgedriver().setup(); but when run tests I have next error: Step ...
Catea's user avatar
  • 13
-1 votes
0 answers
19 views

Login works when app run but fails in Selenide test

Been trying to solve this problem for a few days. No joy. If I run the app locally everything works, can enable and disable users through the admin page even make the test user an admin. Trying to ...
Ian's user avatar
  • 414
0 votes
0 answers
20 views

highlight rows in SELENIDE

I am trying to do this: @Test public void tableTest() { getDriver().get(BASE_URL + "tabulka.php"); List<WebElement> rows = getDriver().findElements(By.xpath("//...
Michal Mariančik's user avatar
0 votes
1 answer
61 views

Im built a docker file for selenide java testing but all the e2e test are not running and only the api test are wroking

when I'm trying to run only e2e in the docker its says 0 tests. I believe the problem is in the chrome and chrome driver installation in the docker file. I tried many things but noting had worked and ...
PureSoul's user avatar
0 votes
0 answers
25 views

aerokube moon is starting only 1 session of chrome after updating java17 and selenide 6.15

aerokube moon is starting only 1 session of chrome after updating java17 and selenide 6.15 Moon version 1.6.0 and Pods set is 4. How to start multiple sessions of chrome with moon ?
Joe12's user avatar
  • 69
0 votes
1 answer
83 views

Is it possible to rename tests in BrowserStack based on the name of the scenarios specified in gherkin?

I have a project written in Selenide and Cucumber with TestNG. I'm running tests from my TestRunner, and the tests are written in Gherkin syntax. I'm integrated with BrowserStack and everything works ...
lukos06's user avatar
  • 302
-3 votes
1 answer
318 views

How to close Google vignette (Google ads) that is randomly popping using Selenide

I had several Selenide automated test web sites which have Google Vignette. The google vignette have different iframe id. I cannot close it using automation code due to different google vignette ...
nicholas's user avatar
  • 2,700
0 votes
0 answers
86 views

While closing the browser tab in Selenium run, Pop-up alert not displayed, but pop-up is displayed when manually closing the browser tab

Our application has a popup alert built-in if user closes the browser tab. It works when I manually close the Chrome browser tab, but when I use Selenium methods like driver.close() or quit(), or Keys(...
Anil Ch's user avatar
0 votes
0 answers
154 views

selenide has a problem with chrome versions newer than 114

When i try to open any site using selenide with chrome version newer than 114 i get an error: HTTP 404 executing https://chromedriver.storage.googleapis.com/LATEST_RELEASE_119 2023-12-02T15:58:16.710+...
Сархан Тахиров's user avatar
0 votes
0 answers
89 views

Selenide: URL check fails despite actual result is equal to expected

I have a test that clicks on a button in my WEB-app and it causes opening a new page in the new browser tab. I want to make sure that it opens the expected site. URL of this new page contains ...
teem's user avatar
  • 1
0 votes
1 answer
78 views

How can I select an option from a dropdown menu in selenide in a java test?

I need to develope a java test with the use of selenide, navigating through an online platform automatically and I couldn't find out how to select an option from a certain dropdown list. I've tried ...
Paul's user avatar
  • 53
0 votes
1 answer
65 views

Perform shortcut in selenide

I'm trying to perform shortcut cmd (ctrl) + shift + u in selenide to open WCAG extension. However chromium ignores it totally. If I leave window open, I have to fiddle with it (eg. minimize + maximize)...
viliam's user avatar
  • 503
1 vote
0 answers
40 views

Direct XPath works but not when chaining XPath on a SelenideElement in Appium

I am encountering a perplexing issue with XPath evaluation in the context of SelenideAppium for an iOS application. A direct XPath query executes and retrieves the value as expected, but when I ...
User1751's user avatar
  • 306
0 votes
1 answer
131 views

Running Selenoid in combination with Docker in Podman

I am working on a MacBook Pro and my company isn't allowing me to install the Docker Desktop application. Since the Docker CLI isn't available separately for macOS I had to install it via Podman. I ...
Nelsch's user avatar
  • 1,087
0 votes
1 answer
42 views

Why does merging two sequences into a single androidDriver.perform() method result in an InvalidElementStateException in Appium/Selenide?

I am working on automating tests for an Android application using Appium and Selenide. I have a scenario where I need to perform two separate actions on two different buttons. When I use a separate ...
User1751's user avatar
  • 306
0 votes
0 answers
279 views

Getting java.lang.UnsupportedOperationException: You must be using an underlying instance of WebDriver that supports executing javascript

We are running selenide java tests. They were doing fine few days back now they are failing with the error. Tests are only failing when any javascript action is done i.e executing some script or ...
Sammar Ahmad's user avatar
0 votes
0 answers
99 views

Why can't I catch ElementClickInterceptedException exception in Selenide, but can catch it with Throwable?

I have a section of code that looks like this in my Java + Selenide + JUnit project: for (int retries = 3; !menuItem.is(visible); --retries) { if (retries < 1) { ...
afar's user avatar
  • 1
0 votes
2 answers
377 views

How to update chrome driver in selenide using Java

I am newbie to the selenium and also to Java. There is existing codebase using selenide 5.16.2 The issue I am facing is, org.openqa.selenium.SessionNotCreatedException: session not created: This ...
Parashuram's user avatar
  • 1,550
2 votes
1 answer
142 views

Is it possible to find an element with accessible role and name?

I have an html structure like: <section aria-labelledby="123"> <h2 id="123">Title</h2> </section> The html section element has an implicit region ...
Konrad's user avatar
  • 23.9k
0 votes
0 answers
64 views

Cannot open display browser:99, error 1. browser:99: I/O error during selenide tests execution against Firefox browser in Selenoid

I get the next error in my console log during Java Selenide test execution against Firefox browser that is running by Selenoid. This error occurs after aproximately 25 min of normal test execution (4 ...
Katerina Zharkaya's user avatar
0 votes
2 answers
151 views

java.lang.NoSuchMethodError: 'void org.openqa.selenium.chrome.ChromeOptions.mergeInOptionsFromCaps(java.lang.String, org.openqa.selenium.Capabilities)

since webdrivers 115 version release, my projects started failing with this error: first error - not facing with it right now So I have decided to update all dependencies in POM to have the most fresh ...
jahu86's user avatar
  • 1
-2 votes
1 answer
184 views

Cannot click a link on automation testing

I had coded automation testing for company website but there is some link is not clickable. Error is [ERROR] GenericTestManager.testPDPA:589 Element should be clickable: interactable and enabled {...
nicholas's user avatar
  • 2,700
0 votes
1 answer
43 views

Method to return a WebElement inside an iframe

I'm trying to create a method in my page class that returns a ElementsCollection (I'm using Selenide, so this is like a list of WebElements). The issue is that the WebElements are inside an iframe, so ...
Txili's user avatar
  • 17
0 votes
1 answer
1k views

Getting java.lang.NoClassDefFoundError: org/openqa/selenium/bidi/HasBiDi on the latest Selenium 4.11.0

First time faced once I did an update to Selenide v6.17.0 <dependency> <groupId>com.codeborne</groupId> <artifactId>selenide</artifactId> ...
kRRRaptor's user avatar
0 votes
1 answer
124 views

Google Vignette (Random Advertisement) Interrupt Test Flow

I had several Selenide automated test web sites which have Google Vignette. The google vignette have different iframe id. I cannot close it using automation code due to different google vignette ...
nicholas's user avatar
  • 2,700
0 votes
1 answer
91 views

Couldn't output to console log4j 2 logs

I'm trying to get logs output in console for my automation framework project. I tried to use different settings, dependencies and methods to do it. I'm using java + maven + selenide. I added these ...
abrakadabra's user avatar
0 votes
0 answers
30 views

How can get elements from .jsp file using java without servlets

I have a "myData.jsp" in my Java project like this: <html> <head> <title>Book Query</title> </head> <body> <h1>Another E-Bookstore</h1> &...
Davron Bafoyev's user avatar
0 votes
0 answers
556 views

Difficulty inspecting Flutter elements in a Flutter app using Appium Inspector

Appium Inspector Screenshot I am facing challenges inspecting Flutter elements in my Flutter app using Appium Inspector while using Selenide. When I try to locate elements using accessibility IDs or ...
Devibalakrishnan's user avatar
0 votes
0 answers
181 views

Can't run my selenide tests on Docker image without headless mode

I'm trying to run my Selenide test on the Docker image with maven and Google Chrome browser If I use this command: xvfb-run --auto-servernum mvn -Dtest=DebugTestSuite test everything goes perfectly ...
Igor Shpigor's user avatar
0 votes
0 answers
30 views

Can't close 3rd party ad content in Selenide

can you please suggest what I need to do to close this advertising in my project, I used Selenide to find elements, of the advertising at the end of the scenario I had closed it, but I can't close it ...
Сonspicuous's user avatar
0 votes
2 answers
220 views

Selenium program not running without static wait

There was another StackOverFlow question for which I had to write a program. My program was not working at all. The program is working fine when we debug it. It's failing at other times. I assumed ...
Ahamed Abdul Rahman's user avatar
1 vote
0 answers
387 views

How to add request headers with Selenide proxy?

I need to add specific header for all browser interactions during the test run. When I test my application locally I am using "modheader" extension and it solves the problem. I am using SDK ...
Andrey Nazarov's user avatar
0 votes
1 answer
1k views

Error during start selenide tests in selenoid (Illegal key values seen in w3c capabilities: [enableVNC])

I get the next error when I try to run my selenide tests againt selenoid. Could you please help to understand what goes wrong? Caused by: java.lang.IllegalArgumentException: Illegal key values seen in ...
Katerina Zharkaya's user avatar
0 votes
0 answers
26 views

Selenium wait function is not waiting

I am having Selenium fill out a form for me, but it doesn't seem to be waiting for a form element to load even though I have an explicitly defined wait function for the form item. What might be ...
Daniel's user avatar
  • 1
0 votes
0 answers
40 views

Can IRetryAnalyzer be implemented without @Test annotation?

My project is using cucumber and testng.@Test annotation is not being used anywhere in the project. I Want to re run the failed test scenarios automatically during execution. Have tried using the ...
Ashen Kryo's user avatar
0 votes
0 answers
197 views

JsonException: Unable to parse: request content-length too big or unknown

I get an error when I try to upload a file in input field: JsonException: Unable to parse: request content-length too big or unknown. But before I get such an error, ide starts behaving strangely.It ...
Otto Rahn's user avatar
  • 163
1 vote
1 answer
64 views

Random advertisement pop up when execute automation testing

I have a site https://master.nst.com.my/sports. There is advertisement pop up display randomly for certain menu options. There is no rules regard this. How to detect when there is pop up display then ...
nicholas's user avatar
  • 2,700
0 votes
1 answer
388 views

Selenide how to not reuse browser for the next tests

I have parameterized test with 8 cases. I run them in parallel with 4 threads, so 4 tests are started at the same time and 4 after. My tests are also doing login to the tested system. So the problem ...
Sundel's user avatar
  • 1
0 votes
1 answer
175 views

Locating ancestor by Selenide using tag and class

I am trying to locate ancestor element (using Selenide library) on a site. The ancestor element is <div class="BorderGrid-cell" ...>. Method .closest(".BorderGrid-cell") ...
Anton Nikolski's user avatar
0 votes
2 answers
685 views

Recording video in Appium Android

I have the following implementation of recording screen for appium android tests. androidDriver.startRecordingScreen(new AndroidStartScreenRecordingOptions() { @Override public ...
Sammar Ahmad's user avatar
0 votes
1 answer
38 views

Search Articles Button Not Interactable

I need to automation testing of a website https://www.buletintv3.my/. There is a search articles function. I'm facing after clicing the search svg, there is no search box pop up/display. Here is the ...
nicholas's user avatar
  • 2,700
0 votes
1 answer
859 views

Selenide cannot download file with Chrome Driver 111 in headless mode

I have a test that need to download file from a web by clicking on a button. Test is able to pass when in non-headless mode. However when I run it in headless it fails with timeout to download file. ...
Serhii Kachan's user avatar
0 votes
1 answer
151 views

Gmail API Send email with Attachment unavailable import class

I coded automation testing using selenide framework and need send the test report via email at the end of testing execution. I have tried sendgrid service but it cannot send attachment. Sometimes can ...
nicholas's user avatar
  • 2,700
36 votes
9 answers
75k views

Unable to establish websocket connection

I had coded automation testing in selenide but strange time comes up. The browser window not able to establish websocket connection to http://localhost:2757/devtools/browser/uuid > [ERROR] Tests ...
nicholas's user avatar
  • 2,700
1 vote
0 answers
146 views

Program fails trying to re-get window handle when switching between browser tabs

Could somebody help me please! What is the problem here: I'm working with selenide, writing autotests using java and I need to switch between different tabs in browser or between its windows from time ...
Vera Naverniuk's user avatar
0 votes
1 answer
299 views

Not created chromdriver session unknown error: DevToolsActivePort file doesn't exist

Google Chrome v.110.0.5481.178 Selenide 6.12.0 webdrivermanager 5.3.2 Window 10 Java 19.2 When execute WebDriverManager.chromedriver().setup(); Selenide.open("https://www.google.com"); I ...
Svetlana's user avatar
0 votes
0 answers
28 views

I'm creating test automation and I want to resolve exceptions

If the create product button is inactive, it should not be clicked, and after the code a is executed, the code to click the create button on the entered page is written as follows. CreatorProductPage....
조잔쓰's user avatar

1
2 3 4 5
7