testcentricity_web 4.3.1 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -12
  3. data/LICENSE.md +1 -1
  4. data/README.md +1794 -697
  5. data/lib/devices/devices.yml +144 -216
  6. data/lib/testcentricity_web/browser_helper.rb +33 -4
  7. data/lib/testcentricity_web/data_objects/environment.rb +96 -13
  8. data/lib/testcentricity_web/exception_queue_helper.rb +5 -6
  9. data/lib/testcentricity_web/version.rb +1 -1
  10. data/lib/testcentricity_web/web_core/page_object.rb +53 -49
  11. data/lib/testcentricity_web/web_core/page_objects_helper.rb +20 -11
  12. data/lib/testcentricity_web/web_core/page_section.rb +31 -34
  13. data/lib/testcentricity_web/web_core/webdriver_helper.rb +379 -252
  14. data/lib/testcentricity_web/web_elements/audio.rb +6 -4
  15. data/lib/testcentricity_web/web_elements/button.rb +7 -4
  16. data/lib/testcentricity_web/web_elements/checkbox.rb +149 -147
  17. data/lib/testcentricity_web/web_elements/file_field.rb +38 -36
  18. data/lib/testcentricity_web/web_elements/image.rb +75 -70
  19. data/lib/testcentricity_web/web_elements/label.rb +6 -4
  20. data/lib/testcentricity_web/web_elements/link.rb +15 -13
  21. data/lib/testcentricity_web/web_elements/list.rb +171 -169
  22. data/lib/testcentricity_web/web_elements/media.rb +384 -379
  23. data/lib/testcentricity_web/web_elements/radio.rb +135 -133
  24. data/lib/testcentricity_web/web_elements/range.rb +16 -29
  25. data/lib/testcentricity_web/web_elements/select_list.rb +247 -245
  26. data/lib/testcentricity_web/web_elements/table.rb +575 -573
  27. data/lib/testcentricity_web/web_elements/textfield.rb +143 -139
  28. data/lib/testcentricity_web/web_elements/ui_element.rb +1171 -0
  29. data/lib/testcentricity_web/web_elements/video.rb +39 -37
  30. data/lib/testcentricity_web/world_extensions.rb +37 -4
  31. data/lib/testcentricity_web.rb +4 -23
  32. metadata +27 -79
  33. data/lib/testcentricity_web/web_elements/ui_elements_helper.rb +0 -1148
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7aca63221f1add18272c5804ac99594a658175ef4590033954f42bc1920aafea
4
- data.tar.gz: 051be4c6fbd25be53fa9dfeb04ed6c71c1bcf99de3e08b3bb22b4f4f930d5b17
3
+ metadata.gz: 4c84c98708978a6cfd7cd54debf3360baba95c838b27f70131a2d4d6afa06049
4
+ data.tar.gz: 93ec0ef41eec3c51bffa1e7a9c89ae350966c40bba9cc00cfe2fab522ab904b0
5
5
  SHA512:
6
- metadata.gz: 8b7ec300f994b85b223bf71b0fc15ba82fc210979f1c979cea34f0e81efcf49e827a072a12f4a2430392c53dd07f78000fe115d18cca020030190098f7f3a490
7
- data.tar.gz: '00959032416c0d922a883279c0eebe21d871d9dd80e2c7a6d82fb03fe1a423c25ef0e199d34acd2936a12d11f6fa7620572cd1b198c614eff3ab52729f47f929'
6
+ metadata.gz: 1073943f3495ee62aedd211ac5876ee9fe9ceeb0b81f2d5b943de7640b0178ddf75f69e959328841fa45c590e9942635ab68a6d18b8ac763cdbe5c1a449e4e12
7
+ data.tar.gz: de323a0357e5f9a043d5d0666e1811b716a81e29488ad927796c7570b33866069dc21139946d387ad7b5c27291ed5f9ded6e7513dfb4cd7bdd83a0b311d44f65
data/CHANGELOG.md CHANGED
@@ -1,13 +1,40 @@
1
1
  # CHANGELOG
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [4.3.1] - 19-AUGUST-2022
4
+
5
+ ## [4.4.0] - 22-DEC-2023
6
+
7
+ ### Added
8
+ * Added support for connecting to, and switching between multiple WebDriver or Appium connected desktop and/or mobile web
9
+ browsers by utilizing the following new methods:
10
+ * `WebDriverConnect.activate_driver`
11
+ * `WebDriverConnect.num_drivers`
12
+ * `WebDriverConnect.close_all_drivers`
13
+ * Added support for web page scrolling by utilizing the following methods:
14
+ * `Browsers.scroll_to_bottom`
15
+ * `Browsers.scroll_to_top`
16
+ * `Browsers.scroll_to`
17
+
18
+ ### Changed
19
+ * `WebDriverConnect.initialize_web_driver` method now accepts an optional `options` hash for specifying desired capabilities
20
+ (using W3C protocol), driver, driver name, endpoint URL, device type, and desktop browser window size information.
21
+ * The `HOST_BROWSER` Environment Variable is no longer required to support emulated mobile web browsers.
22
+ * The `SELENIUM` Environment Variable is no longer used to instantiate a WebDriver connection to a Selenium 4 Grid instance.
23
+ To establish a connection to browser instances on a Selenium 4 Grid, set the `DRIVER` Environment Variable to `grid`.
24
+ * TestCentricity now supports and integrates with Selenium-Webdriver version 4.14 and Capybara version 3.39.
25
+ * Updated profiles for emulated mobile device browsers.
26
+ * Removed dependency on `appium_capybara` and `webdrivers` gems.
27
+ * Ruby version 3.0.0 or greater is now required.
28
+ * Locally hosted Internet Explorer web browsers are no longer supported.
29
+
30
+
31
+ ## [4.3.1] - 19-AUG-2022
5
32
 
6
33
  ### Added
7
34
  * Added support for connecting to remote mobile browsers on iOS simulators and Android emulators on the TestingBot service.
8
35
 
9
36
 
10
- ## [4.3.0] - 01-AUGUST-2022
37
+ ## [4.3.0] - 01-AUG-2022
11
38
 
12
39
  ### Added
13
40
  * The `DRIVER` Environment Variable is now used to specify the `appium`, `browserstack`, `saucelabs`, `testingbot`,
@@ -22,7 +49,7 @@ or `lambdatest` driver.
22
49
  ## [4.2.6] - 12-JUNE-2022
23
50
 
24
51
  ### Fixed
25
- * Fix `gemspec` to no longer include specs and cuke tests as part of deployment package for gem.
52
+ * Fix `gemspec` to no longer include specs and Cucumber tests as part of deployment package for gem.
26
53
 
27
54
 
28
55
  ## [4.2.5] - 10-JUNE-2022
@@ -42,7 +69,8 @@ missing `Downloads` folder when running tests in parallel.
42
69
 
43
70
  ### Added
44
71
  * Added `UIElement.wait_while_busy` method
45
- * Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of `aria_busy` attribute.
72
+ * Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of `aria_busy`
73
+ attribute.
46
74
 
47
75
 
48
76
  ## [4.2.2] - 21-MAY-2022
@@ -111,8 +139,8 @@ running gem test specs and features.
111
139
  radio buttons to the unchecked state.
112
140
 
113
141
  ### Added
114
- * `CheckBox.define_custom_elements` and `Radio.define_custom_elements` methods now support specifying a child `input` component
115
- contained by a top level `label` element.
142
+ * `CheckBox.define_custom_elements` and `Radio.define_custom_elements` methods now support specifying a child `input`
143
+ component contained by a top level `label` element.
116
144
 
117
145
 
118
146
  ## [4.1.8] - 31-MAR-2022
@@ -171,7 +199,8 @@ contained by a top level `label` element.
171
199
  ## [4.1.4] - 09-MAR-2022
172
200
 
173
201
  ### Fixed
174
- * `Environ.driver` is now correctly set to `:appium` when target test browser is running on iOS or Android simulators or physical devices.
202
+ * `Environ.driver` is now correctly set to `:appium` when target test browser is running on iOS or Android simulators or
203
+ physical devices.
175
204
 
176
205
 
177
206
  ## [4.1.3] - 08-MAR-2022
@@ -192,16 +221,17 @@ contained by a top level `label` element.
192
221
  ## [4.1.1] - 03-MAR-2022
193
222
 
194
223
  ### Changed
195
- * W3C WebDriver-compliant sessions using Selenium version 4.x are now supported when using the BrowserStack, LambdaTest, TestingBot,
196
- and SauceLabs services.
197
- * W3C WebDriver-compliant sessions are now supported when running against remote browsers hosted on Selenium Grid 4 and Dockerized Selenium
198
- Grid 4 environments.
224
+ * W3C WebDriver-compliant sessions using Selenium version 4.x are now supported when using the BrowserStack, LambdaTest,
225
+ TestingBot, and SauceLabs services.
226
+ * W3C WebDriver-compliant sessions are now supported when running against remote browsers hosted on Selenium Grid 4 and
227
+ Dockerized Selenium Grid 4 environments.
199
228
 
200
229
 
201
230
  ## [4.1.0] - 28-FEB-2022
202
231
 
203
232
  ### Removed
204
- * Support for CrossBrowserTesting and Gridlastic cloud hosted Selenium grids have been removed.
233
+ * Support for CrossBrowserTesting and Gridlastic cloud hosted Selenium grids have been removed due to their lack of support
234
+ for Selenium 4.x and the W3C browser capabilities protocol.
205
235
 
206
236
  ### Added
207
237
  * TestCentricity now supports and integrates with Selenium-Webdriver version 4.1.
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2022, Tony Mrozinski
1
+ Copyright (c) 2014-2023, Tony Mrozinski
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without