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

Selenide removing displayed:false not working

I want to click radio button in my automation tests. Even though radio buttons are visible on the page, unselected ones have displayed:false property. Selenide somehow can not click if html object has displayed:false property. The error is :…
fiskra
  • 872
  • 1
  • 9
  • 19
0
votes
1 answer

How to use WebDriverRunner to create a Chrome browser in incognito mode

I'm looking for an option to open chrome in INCOGNITO for my automation tests using SelenIDE/JUNIT/Maven. I'm not really sure what kind of information I need to give here. I'll add a copy of our LocalTest page, which steers the WebdriverRunner. I…
Buttery
  • 318
  • 2
  • 6
0
votes
1 answer

Style reports of cucumber

I have a problem, I am automating with cucumber, and I want create reports with all items after that the test run. In this moment, I have reports that dont give me information of failure or success test, only I can show the scenarios.This is the…
0
votes
3 answers

Selenide: How to get all active elements from ElementsCollection?

I'm trying to write an if statement for a collection but I've encountered with a problem. Just for instance, the following element has li tag that indicates whether the element is active:
hamvee
  • 141
  • 3
  • 13
0
votes
0 answers

Selenide not taking screenshot on failures any longer

Spec: Selenide-4.12.2 Selenium 3.13.0 GeckoDriver Maven Fitnesse-20180127 Fitlibrary 2.0 I am not sure what changed in the recent builds particularly on the versions that support gecko webdriver but I no longer get the screenshot location url…
Afamee
  • 5,160
  • 9
  • 38
  • 43
0
votes
1 answer

Java 8 and Cucumber don't run the step files with lambdas methods

I have a great problem and I have tried to solve this problem, but all time is the same. I have this scenario with cucumber feature file And this is the steps' file steps' file Finally I run with package Steps; import…
0
votes
1 answer

Selenide GRID - how to configure

I'm trying to run GRID using Selenide but I'm getting an error. I have a hub with two nodes - one with firefox and second with chrom. I also use this configuration Configuration.browser = "chrome"; …
EdXX
  • 872
  • 1
  • 14
  • 32
0
votes
1 answer

Selenium download button indicates a zip file download by browser in Java

I have a download button without href link in a webpage. I find it with findExtendedelement and click on it. After the click a zip file download on the hard drive (i dont know where, and it shouldn't be matter) I would like to catch this downloaded…
krampy
  • 1
  • 1
0
votes
1 answer

Set up proxy for selenide?

Is there any possibility to set up proxy for selenide library? I start autotests from command line with maven comman: mvn clean test [some params] site It was possible to change maven setting to use proxy (in ${maven.home}/conf/settings.xml) so it…
Ivan Gerasimenko
  • 2,381
  • 3
  • 30
  • 46
0
votes
1 answer

Disable the request for geolocation in Opera webdriver?

Faced c with the fall of tests due to a geolocation request. Please tell me how to launch the browser without this request? My code is the calling browser: System.setProperty("webdriver.opera.driver", "C:/src/test/resources/operadriver.exe"); …
0
votes
2 answers

How to close IE windows after failed test

I'm using Selenide (Selenium wrapper) + TestNG. The problem that when test is failing, Selenide tries to close all windows (as I understand), but when it happens the modal dialog box is appearing ("confirm quit from page"), and Selenide can't close…
Igor Vlasuyk
  • 514
  • 2
  • 10
  • 22
0
votes
0 answers

Unable to run test from Jenkins - cannot open shared object file: No such file or directory

My goal is to run my first time Selenium tests with Jenkins (not local). So what I did: I created google cloud server I installed Jenkins on my server thanks to this guide:…
0
votes
2 answers

Java reflections method to get annotated field as SelenideElement

I am using Cucumber with Selenide for my UI tests and I have these methods public static void initPage(String pageName) throws Exception { Set> annotated = new Reflections(PAGES_PACKAGE).getTypesAnnotatedWith(PageTitle.class); for…
Kirill
  • 63
  • 11
0
votes
3 answers

Web Driver returns an empty list when trying to access console log entries

I am running some tests in Selenide, and I need to display the content of the browser console at some point: LogEntries logs = getWebDriver().manage().logs().get(LogType.BROWSER); System.out.println(logs.getAll().size()); for (LogEntry log:…
Eldy
  • 1,027
  • 1
  • 13
  • 31
0
votes
1 answer

Ember Power Select: select values with Gauge & Selenide

I test an Ember website with Gauge and Seleneide (Java). -> I'd like to select some values in a Ember Power-Select component. How can I achieve that? I am able to get the Power-Select component as a SelenideElement object, but setting a value with…
Jonathan Lermitage
  • 669
  • 1
  • 5
  • 17