Questions tagged [selenide]

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

Selenide is based on and is compatible to Selenium WebDriver 2.0. It defines concise fluent API, natural language assertions and does some magic for ajax-bases applications to let you focus entirely on the business logic of your tests

References:

290 questions
0
votes
1 answer

Why is the waitUntil method protected for ElementsCollection?

As you can see in the documentation, the waitUntil method is protected for ElementsCollection: http://selenide.org/javadoc/3.7/com/codeborne/selenide/ElementsCollection.html This is not the case for SelenideElement for…
Eldy
  • 1,027
  • 1
  • 13
  • 31
0
votes
1 answer

Finding a specific element with Selenide (Selenium) using cssSelector

If there is a structure of elements like in the image, it is possible to get out each static-property like: $$('#static-information .value').get(0) or $$('.static-property .value').get(0) But since each static property has a unique .key in that div…
Edo-san
  • 27
  • 1
  • 6
0
votes
4 answers

Selenide doesn't find the Web element

Could somebody help to understand what is wrong with element searching via Selenide. I have such HTML code:
Current method: SMS
The Selenium finds the element throw this xpath…
0
votes
0 answers

Selenium grid launching browser on hub instead of node

I have configured my hub and one of the node. Hub is setup on jenkins as a plugin which is running on ubundu machine and my node is running on windows machine. Hub and node are correctly configure. Now when I am running the test to launch the…
Javed Ahmed
  • 223
  • 1
  • 3
  • 17
0
votes
0 answers

how to scroll only a particular area of the page instead of complete page using selenium/selenide

I have a web page which contains different frames e.g left frame, top frame and middle frame. The middle frame contains a list of files which can be scrolled. I want to scroll that frame page by page till end. How can I do it in selenium or…
Javed Ahmed
  • 223
  • 1
  • 3
  • 17
0
votes
1 answer

Selenium Grid always executes an unwanted extra instance of my test

Background I have a Selenium Grid project set up to execute my test in two different browsers, Chrome and Firefox. I'm using Gradle to execute my tests. The test will successfully execute twice, once in Chrome and once in Firefox, as expected, and…
homersimpson
  • 4,124
  • 4
  • 29
  • 39
0
votes
1 answer

Selenide and Firefox record faulty screenshot

I'm using Selenide and Phantomjs to test a Webapplication. Im taking the Screenshot as follows: byte[] bytes = ((TakesScreenshot)webDriver).getScreenshotAs(OutputType.BYTES); ByteArrayInputStream bis = new ByteArrayInputStream(bytes); returnImage =…
0
votes
5 answers

Taking element with css selector with multiple elements in a table

I am using Selenide/Selenium to write my java automation scripts and recently I faced a problem. I want to take an element from the same row I compare my second element. Html example code:
imbasheep
  • 92
  • 3
  • 9
0
votes
1 answer

How to get total number of requests per second using selenium/selenide webdriver

I want to get the total number of request on network for specific url. how can I do it using selenium or selenide. There is a search bar on my webpage and if I start typing in the search box it will show the auto complete result and on every…
Javed Ahmed
  • 223
  • 1
  • 3
  • 17
0
votes
1 answer

How to make screenshot by Selenide every time when @Then falls?

I use Selenide + Cucumber + IntellijIDEA and I want to get screenshot every time when @Then - inside only assertEquals - falls with java.lang.AssertionError. How can I configure it? Now it makes screenshots every time when @When falls, but if it's…
M M
  • 1
  • 5
0
votes
1 answer

Exceptions "no such element" for automotive sessions in Browserstack for GREEN tests with usage of selenide and testng

My selenium tests are green but in Browserstack session I see some exceptions about "no such element" in log. Can't find such errors in maven/testng full logs, tried to run with -e -X parameters - the same, tests are green, no…
Tatiana
  • 381
  • 4
  • 18
0
votes
1 answer

Selenide test not able to load correct element on a newly opened tab/window

I am using Selenide to open a sample input form on w3schools.com (found here). The test inputs a name into the form and clicks submit, which then opens a new page in a separate tab/window which displays the request params in a div. The following…
homersimpson
  • 4,124
  • 4
  • 29
  • 39
0
votes
1 answer

How to wait for same browser tab title text with Selenide?

I would like to find out how to make waiter for assertion with window title text in selenide / selenium something like this: waitUntil(assertion.true(Selenide.title().toLowerCase().startsWith("text")), timeout); may be you could help me?
gore
  • 551
  • 2
  • 20
0
votes
1 answer

How to check that the image was changed if there're no changes in HTML code?

How to check that the image was changed if there're no changes in HTML code? It may sound a little bit complicated so I'll try to add some details. First of all, I write tests with Kotlin + Selenide but if your tips\tricks\answers will be in Java +…
Viterzgir
  • 212
  • 4
  • 14
0
votes
1 answer

My Selenide code is not launching the browser but showing pass test case

public class BTest implements WebDriverProvider { @Test public void launch() { System.setProperty("browser", "firefox"); Configuration.browser=BTest.class.getName(); Configuration.screenshots = false; …