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

How to get text of a display:none element in selenium

I have div class which has id with display:none.I need to get the text out of the id. I have tried by using javascript executor. but I am not getting the text value from the ID. SelenideElement element = $$("[class*=abc]"); JavaScriptExecutor js =…
newbie
  • 147
  • 1
  • 1
  • 8
0
votes
1 answer

combine several lines from json

in the test I have to get the product version and build number but they are in different lines, and have an extra suffix that needs to be removed. I can not cope with this task, can you help? JsonObject versionConfig =…
Null Echo
  • 3
  • 2
0
votes
2 answers

This version of ChromeDriver has not been tested with Chrome version 75 and java.lang.IllegalStateException after a new browser window opens

I have a test class that has multiple alternative tests running one after another. To make sure the tests are isolated and to not make it stressfull for the build-agent, I want to close and open a new browser instance between each test. The issue…
0
votes
0 answers

Selenide test in Jenkins:

i have tests written in Selenide. On localhost Jenkins - they run successfully, but if i want put them on my company Jenkins - problems starts My first attemp, without Xvfb: Logs: [31mFailed…
moroyoung11
  • 63
  • 1
  • 9
0
votes
1 answer

How can i specify chrome profile using Selenide only

I want to use Custom driver provider with my configuration. But in this case selenium instead selenide is used. Going such way i need to specify path to chromedriver.exe, but Selenide does not require to download it. How can i use custom driver…
Anton_Selenium
  • 339
  • 7
  • 20
0
votes
2 answers

Selenide: missing @Step annotation in Allure report

i have following problem: this is my repo: https://github.com/mtpx/N In pages classes i use @Step annotation, after test execution in Allure report we see: I want to see my @Steps instead of: $(By.xpath:…
0
votes
1 answer

Allure @Step does not appear in the allure report (Selenide TestNG Gradle Allure)

Help solve the following problem: Test run through the command ./gradlew luma_magento_ui: test The report is successfully generated, but Step does not appear in the test case. @Step("registration user") public Response…
0
votes
1 answer

Selenide drvier, Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure

I read most of threads about this problem, but can't find solution. I used selenide 4.11.1, but i have problem "This version of ChromeDriver only supports Chrome version 74" after running tests. So according to this solution…
0
votes
2 answers

XPATH - getAttribute() and writer.append() to CSV file (Selenium/Selenide)

I'm trying to get "title" attribute value and save it in csv file from element below: Whole html here. I've got this attribute value using xpath below (it…
tomes
  • 1
  • 1
0
votes
2 answers

checking and waiting until a selenideelement attribute contains a specific string

How to check and wait until a specific attribute of an selenideelement contains a string through Selenide api. Say if I want to wait until "href" attribute contains the word "Test"
0
votes
1 answer

Is there any way to handle security alert on chrome browser while uploading a file.?

I am automating test cases in which I have to upload a folder on Google drive. I am able to successfully click and upload folder by path but immediately when I click on upload button of browse windows the alert appears on top middle of the screen…
Javed Ahmed
  • 223
  • 1
  • 3
  • 17
0
votes
1 answer

How to handle limitation of Robot Class in Selenium for Uploading Folders/Files?

I have a scenario to Upload Folder in my app, which is currently automated using Robot Class in Selenium. The challenge I am facing is while running the code on Remote system, my code fails coz, multiple other programs are also executing in…
Shreya
  • 1
  • 2
0
votes
2 answers

Selenide: can't import its methods

I've created maven project with selenide 5.0.1 When i see code examples i see such code: open(""); $(css); $(xpath); etc. But i can't import Selenide methods and i must write code in such way: Selenide.open(""); Selenide.$(css); etc. trying…
Anton_Selenium
  • 339
  • 7
  • 20
0
votes
1 answer

Selenide+Spock, one class per page - navigating to a page seems to open a new window

I am new to both Spock and Selenide, so I apologize if it's smth obvious, I was not able to google an answer though. I am trying to write a simple test for a Jenkins site (test machine only has access to local resources, so I cannot give a Google…
hali17
  • 1
  • 2
0
votes
1 answer

Cannot access org.openqa.selenium.WrapsDriver Selenide + TestContainers

I am trying to use Selenide 5.0.0 with TestContainers 1.9.1 dependencies { testCompile 'com.codeborne:selenide:5.0.0' testCompile 'org.testcontainers:selenium:1.9.1' } Apparently, these versions are incompatible, cause when I run my test I…
idmitriev
  • 4,619
  • 4
  • 28
  • 44