Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

find element with specific child elements

I'm using Selenide 7.5.1. and Java 20. I have to know if a particular calendar event (identified by person name, entry and time (eg: Bill Williamson, entry1, 10a)) exists within a set of elements (see ...
Michael Teasdale's user avatar
0 votes
1 answer
258 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
1 vote
0 answers
123 views

How locate ::before::after in html with help selenium [duplicate]

::before ::after the only thing I can grab is these two lines how to check their existence in the html using java
sevnight's user avatar
  • 105
0 votes
1 answer
5k views

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 ...
Edo-san's user avatar
  • 27
0 votes
0 answers
107 views

Difference between $("css selector") and $(By.linkText("text"))?

I need to locate a element, I used the following two ways: $("body.c1 div.c1.c2.c3 div.c4 div.c.c7 ul.cc.c6.c8 li.LoginUrl a") .click() But I have problem with this way, because some CSS ...
Hana90's user avatar
  • 925
2 votes
1 answer
470 views

Multiple Selectors in Selenium Test

I want to test a page with responsive layout. Some elements (like the menu) will be different depending on resolution. how can I target them to run with the same test classes? i'm thinking about How....
devman's user avatar
  • 701