Skip to content

Commit 8f97c28

Browse files
committed
Update Selenium to 4.36.0 +semver:feature
Fix javadocs annotations
1 parent 1f2abac commit 8f97c28

File tree

4 files changed

+68
-37
lines changed

4 files changed

+68
-37
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<dependency>
110110
<groupId>com.google.guava</groupId>
111111
<artifactId>guava</artifactId>
112-
<version>33.4.8-jre</version>
112+
<version>33.5.0-jre</version>
113113
</dependency>
114114
<dependency>
115115
<groupId>com.fasterxml.jackson.core</groupId>
@@ -119,7 +119,7 @@
119119
<dependency>
120120
<groupId>org.seleniumhq.selenium</groupId>
121121
<artifactId>selenium-java</artifactId>
122-
<version>4.35.0</version>
122+
<version>4.36.0</version>
123123
</dependency>
124124
<dependency>
125125
<groupId>io.appium</groupId>

src/main/java/aquality/selenium/core/elements/interfaces/IElementFactory.java

Lines changed: 43 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ default <T extends IElement> T findChildElement(IElement parentElement, By child
183183
* @param parentElement Parent element for relative search of child elements.
184184
* @param childLoc Locator of child elements relative to its parent.
185185
* @param clazz Class or interface of the elements to be obtained.
186+
* @param <T> Type of the target elements.
186187
* @return List of child elements.
187188
*/
188189
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc,
@@ -196,7 +197,8 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
196197
* @param parentElement Parent element for relative search of child elements.
197198
* @param childLoc Locator of child elements relative to its parent.
198199
* @param clazz Class or interface of the elements to be obtained.
199-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
200+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
201+
* @param <T> Type of the target elements.
200202
* @return List of child elements.
201203
*/
202204
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc,
@@ -211,6 +213,7 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
211213
* @param childLoc Locator of child elements relative to its parent.
212214
* @param clazz Class or interface of the elements to be obtained.
213215
* @param state Visibility state of child elements.
216+
* @param <T> Type of the target elements.
214217
* @return List of child elements.
215218
*/
216219
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc,
@@ -225,8 +228,9 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
225228
* @param parentElement Parent element for relative search of child elements.
226229
* @param childLoc Locator of child elements relative to its parent.
227230
* @param clazz Class or interface of the elements to be obtained.
228-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
231+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
229232
* @param state Visibility state of child elements.
233+
* @param <T> Type of the target elements.
230234
* @return List of child elements.
231235
*/
232236
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc,
@@ -242,6 +246,7 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
242246
* @param childLoc Locator of child elements relative to its parent.
243247
* @param name Child elements name.
244248
* @param clazz Class or interface of the elements to be obtained.
249+
* @param <T> Type of the target elements.
245250
* @return List of child elements.
246251
*/
247252
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc, String name,
@@ -256,7 +261,8 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
256261
* @param childLoc Locator of child elements relative to its parent.
257262
* @param name Child elements name.
258263
* @param clazz Class or interface of the elements to be obtained.
259-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
264+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
265+
* @param <T> Type of the target elements.
260266
* @return List of child elements.
261267
*/
262268
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc, String name,
@@ -272,6 +278,7 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
272278
* @param name Child elements name.
273279
* @param clazz Class or interface of the elements to be obtained.
274280
* @param state Visibility state of child elements.
281+
* @param <T> Type of the target elements.
275282
* @return List of child elements.
276283
*/
277284
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc, String name,
@@ -286,7 +293,7 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
286293
* @param clazz Class or interface of the elements to be obtained.
287294
* @param name Child elements name.
288295
* @param parentElement Parent element for relative search of child elements.
289-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
296+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
290297
* @param state Visibility state of target elements.
291298
* @param <T> Type of the target elements.
292299
* @return List of child elements.
@@ -300,6 +307,7 @@ <T extends IElement> List<T> findChildElements(IElement parentElement, By childL
300307
* @param parentElement Parent element for relative search of child elements.
301308
* @param childLoc Locator of child elements relative to its parent.
302309
* @param supplier Required elements' supplier.
310+
* @param <T> Type of the target elements.
303311
* @return List of child elements.
304312
*/
305313
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc,
@@ -313,7 +321,8 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
313321
* @param parentElement Parent element for relative search of child elements.
314322
* @param childLoc Locator of child elements relative to its parent.
315323
* @param supplier Required elements' supplier.
316-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
324+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
325+
* @param <T> Type of the target elements.
317326
* @return List of child elements.
318327
*/
319328
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc,
@@ -328,6 +337,7 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
328337
* @param childLoc Locator of child elements relative to its parent.
329338
* @param supplier Required elements' supplier.
330339
* @param state Visibility state of child elements.
340+
* @param <T> Type of the target elements.
331341
* @return List of child elements.
332342
*/
333343
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc,
@@ -342,8 +352,9 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
342352
* @param parentElement Parent element for relative search of child elements.
343353
* @param childLoc Locator of child elements relative to its parent.
344354
* @param supplier Required elements' supplier.
345-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
355+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
346356
* @param state Visibility state of child elements.
357+
* @param <T> Type of the target elements.
347358
* @return List of child elements.
348359
*/
349360
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc,
@@ -359,6 +370,7 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
359370
* @param childLoc Locator of child elements relative to its parent.
360371
* @param name Child elements name.
361372
* @param supplier Required elements' supplier.
373+
* @param <T> Type of the target elements.
362374
* @return List of child elements.
363375
*/
364376
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc, String name,
@@ -373,7 +385,8 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
373385
* @param childLoc Locator of child elements relative to its parent.
374386
* @param name Child elements name.
375387
* @param supplier Required elements' supplier.
376-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
388+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
389+
* @param <T> Type of the target elements.
377390
* @return List of child elements.
378391
*/
379392
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc, String name,
@@ -389,6 +402,7 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
389402
* @param name Child elements name.
390403
* @param supplier Required elements' supplier.
391404
* @param state Visibility state of child elements.
405+
* @param <T> Type of the target elements.
392406
* @return List of child elements.
393407
*/
394408
default <T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc, String name,
@@ -405,6 +419,7 @@ default <T extends IElement> List<T> findChildElements(IElement parentElement, B
405419
* @param parentElement Parent element for relative search of child elements.
406420
* @param state Visibility state of child elements.
407421
* @param <T> Type of the target elements.
422+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
408423
* @return List of child elements.
409424
*/
410425
<T extends IElement> List<T> findChildElements(IElement parentElement, By childLoc, String name,
@@ -416,9 +431,9 @@ <T extends IElement> List<T> findChildElements(IElement parentElement, By childL
416431
* @param locator Elements selector.
417432
* @param name Child element name.
418433
* @param supplier Required elements' supplier.
419-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
434+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
420435
* @param state Visibility state of target elements.
421-
* @param <T> Type of the target element.
436+
* @param <T> Type of the target elements.
422437
* @return List of elements.
423438
*/
424439
<T extends IElement> List<T> findElements(By locator, String name, IElementSupplier<T> supplier, ElementsCount count,
@@ -431,7 +446,7 @@ <T extends IElement> List<T> findElements(By locator, String name, IElementSuppl
431446
* @param name Child element name.
432447
* @param supplier Required elements' supplier.
433448
* @param state Visibility state of target elements.
434-
* @param <T> Type of the target element.
449+
* @param <T> Type of the target elements.
435450
* @return List of elements.
436451
*/
437452
default <T extends IElement> List<T> findElements(By locator, String name, IElementSupplier<T> supplier,
@@ -445,7 +460,7 @@ default <T extends IElement> List<T> findElements(By locator, String name, IElem
445460
* @param locator Elements selector.
446461
* @param supplier Required elements' supplier.
447462
* @param state Visibility state of target elements.
448-
* @param <T> Type of the target element.
463+
* @param <T> Type of the target elements.
449464
* @return List of elements.
450465
*/
451466
default <T extends IElement> List<T> findElements(By locator, IElementSupplier<T> supplier,
@@ -459,8 +474,8 @@ default <T extends IElement> List<T> findElements(By locator, IElementSupplier<T
459474
* @param locator Elements selector.
460475
* @param name Child element name.
461476
* @param supplier Required elements' supplier.
462-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
463-
* @param <T> Type of the target element.
477+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
478+
* @param <T> Type of the target elements.
464479
* @return List of elements.
465480
*/
466481
default <T extends IElement> List<T> findElements(By locator, String name, IElementSupplier<T> supplier, ElementsCount count) {
@@ -473,7 +488,7 @@ default <T extends IElement> List<T> findElements(By locator, String name, IElem
473488
* @param locator Elements selector.
474489
* @param name Child element name.
475490
* @param supplier Required elements' supplier.
476-
* @param <T> Type of the target element.
491+
* @param <T> Type of the target elements.
477492
* @return List of elements.
478493
*/
479494
default <T extends IElement> List<T> findElements(By locator, String name, IElementSupplier<T> supplier) {
@@ -485,9 +500,9 @@ default <T extends IElement> List<T> findElements(By locator, String name, IElem
485500
*
486501
* @param locator Elements selector.
487502
* @param supplier Required elements' supplier.
488-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
503+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
489504
* @param state Visibility state of target elements.
490-
* @param <T> Type of the target element.
505+
* @param <T> Type of the target elements.
491506
* @return List of elements.
492507
*/
493508
default <T extends IElement> List<T> findElements(By locator, IElementSupplier<T> supplier, ElementsCount count,
@@ -501,9 +516,9 @@ default <T extends IElement> List<T> findElements(By locator, IElementSupplier<T
501516
* @param locator Elements selector.
502517
* @param name Child element name.
503518
* @param clazz Class or interface of the element to be obtained.
504-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
519+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
505520
* @param state Visibility state of target elements.
506-
* @param <T> Type of the target element.
521+
* @param <T> Type of the target elements.
507522
* @return List of elements.
508523
*/
509524
<T extends IElement> List<T> findElements(By locator, String name, Class<T> clazz, ElementsCount count, ElementState state);
@@ -515,7 +530,7 @@ default <T extends IElement> List<T> findElements(By locator, IElementSupplier<T
515530
* @param name Child element name.
516531
* @param clazz Class or interface of the element to be obtained.
517532
* @param state Visibility state of target elements.
518-
* @param <T> Type of the target element.
533+
* @param <T> Type of the target elements.
519534
* @return List of elements.
520535
*/
521536
default <T extends IElement> List<T> findElements(By locator, String name, Class<T> clazz, ElementState state) {
@@ -527,9 +542,9 @@ default <T extends IElement> List<T> findElements(By locator, String name, Class
527542
*
528543
* @param locator Elements selector.
529544
* @param clazz Class or interface of the element to be obtained.
530-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
545+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
531546
* @param state Visibility state of target elements.
532-
* @param <T> Type of the target element.
547+
* @param <T> Type of the target elements.
533548
* @return List of elements.
534549
*/
535550
default <T extends IElement> List<T> findElements(By locator, Class<T> clazz, ElementsCount count, ElementState state) {
@@ -542,7 +557,7 @@ default <T extends IElement> List<T> findElements(By locator, Class<T> clazz, El
542557
* @param locator Elements selector.
543558
* @param clazz Class or interface of the element to be obtained.
544559
* @param state Visibility state of target elements.
545-
* @param <T> Type of the target element.
560+
* @param <T> Type of the target elements.
546561
* @return List of elements.
547562
*/
548563
default <T extends IElement> List<T> findElements(By locator, Class<T> clazz, ElementState state) {
@@ -554,7 +569,7 @@ default <T extends IElement> List<T> findElements(By locator, Class<T> clazz, El
554569
*
555570
* @param locator Elements selector.
556571
* @param clazz Class or interface of elements to be obtained.
557-
* @param <T> Type of the target element.
572+
* @param <T> Type of the target elements.
558573
* @return List of elements.
559574
*/
560575
default <T extends IElement> List<T> findElements(By locator, Class<T> clazz) {
@@ -567,8 +582,8 @@ default <T extends IElement> List<T> findElements(By locator, Class<T> clazz) {
567582
* @param locator Elements selector.
568583
* @param clazz Class or interface of elements to be obtained.
569584
* @param name Child element name.
570-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
571-
* @param <T> Type of the target element.
585+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
586+
* @param <T> Type of the target elements.
572587
* @return List of elements.
573588
*/
574589
default <T extends IElement> List<T> findElements(By locator, String name, Class<T> clazz, ElementsCount count) {
@@ -581,7 +596,7 @@ default <T extends IElement> List<T> findElements(By locator, String name, Class
581596
* @param locator Elements selector.
582597
* @param name Child element name.
583598
* @param clazz Class or interface of elements to be obtained.
584-
* @param <T> Type of the target element.
599+
* @param <T> Type of the target elements.
585600
* @return List of elements.
586601
*/
587602
default <T extends IElement> List<T> findElements(By locator, String name, Class<T> clazz) {
@@ -593,8 +608,8 @@ default <T extends IElement> List<T> findElements(By locator, String name, Class
593608
*
594609
* @param locator Elements selector.
595610
* @param clazz Class or interface of elements to be obtained.
596-
* @param count Expected number of elements that have to be found (zero, more then zero, any).
597-
* @param <T> Type of the target element.
611+
* @param count Expected number of elements that have to be found (zero, more than zero, any).
612+
* @param <T> Type of the target elements.
598613
* @return List of elements.
599614
*/
600615
default <T extends IElement> List<T> findElements(By locator, Class<T> clazz, ElementsCount count) {

0 commit comments

Comments
 (0)