cucu 1.2.6__py3-none-any.whl → 1.2.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -163,6 +163,16 @@ def navigate_to_the_url(ctx, url):
163
163
  ctx.browser.navigate(url)
164
164
 
165
165
 
166
+ @step('I save the current browser url to the variable "{variable}"')
167
+ def save_current_browser_url_to_variable(ctx, variable):
168
+ ctx.check_browser_initialized()
169
+ current_url = ctx.browser.get_current_url()
170
+ config.CONFIG[variable] = current_url
171
+ logger.debug(
172
+ f"saved current browser url {current_url} to variable {variable}"
173
+ )
174
+
175
+
166
176
  @step("I switch to the previous browser")
167
177
  def switch_to_previous_browser(ctx):
168
178
  browser_index = ctx.browsers.index(ctx.browser)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: cucu
3
- Version: 1.2.6
3
+ Version: 1.2.7
4
4
  Summary: Easy BDD web testing
5
5
  Keywords: cucumber,selenium,behave
6
6
  Author: Domino Data Lab, Rodney Gomes, Cedric Young, Xin Dong, Kavya, Kevin Garton, Joy Liao
@@ -62,7 +62,7 @@ cucu/reporter/templates/layout.html,sha256=da20d16e6f1ab4ef268075a08a322f0c2ac13
62
62
  cucu/reporter/templates/scenario.html,sha256=bd30c10d37ed146a1db4da337d5b7b3a5f9fa694ea3e1d5b5b7d7f10d7350964,10115
63
63
  cucu/steps/__init__.py,sha256=b1e4a60120655aeebeeb06c56ef11b3f08a005c4578983f5f02e17ff6716f0d8,753
64
64
  cucu/steps/base_steps.py,sha256=d1f3ef75a2a86a7f253002ab0e72b4fb3ac02e9c66d753f5cd5018e4237b8970,1893
65
- cucu/steps/browser_steps.py,sha256=5e583f93bde8b1563918f158fcd063d922f6e4635cd5e319423b6711341d052d,12335
65
+ cucu/steps/browser_steps.py,sha256=893465e5f7e97f662b164e6a87ae795851c07923b0a04dc7161997863b19b5aa,12687
66
66
  cucu/steps/button_steps.py,sha256=7a3deead66dd7df8bb1e29a63dbadd50191d2c803fc5871f2e5b2a385fb9ff9b,2713
67
67
  cucu/steps/checkbox_steps.py,sha256=0761ca140faec2cac26b50e6cd2eeed68d571f5d9be41ccb3e0e6a635738e391,3386
68
68
  cucu/steps/command_steps.py,sha256=9d509cf3e4c48ad7ad93ece1938cf5c1ad28c2a2d0c87790547e531e2a14c3e9,5094
@@ -86,7 +86,7 @@ cucu/steps/text_steps.py,sha256=263fc61e81de7a637055d50e76a71e840acda7b58cf96323
86
86
  cucu/steps/variable_steps.py,sha256=59272d1f7ff17318e28c63d8665c69f9fa02fd220000ab45fffb1a36d81925b9,2966
87
87
  cucu/steps/webserver_steps.py,sha256=c169294af71231d8ac90f921e1caa57a95b1d6792f1294d4dad4574263c36f2a,1410
88
88
  cucu/utils.py,sha256=a79b12b89cc67409bda959310a384cacbe13f87e54241720f88bf303b7fcb9bb,10939
89
- cucu-1.2.6.dist-info/WHEEL,sha256=03f80d698bb4300c27bcafc3987ea73ef427fcb365e59e808e50d041a7f87b89,78
90
- cucu-1.2.6.dist-info/entry_points.txt,sha256=d7559122140cecbb949d0835940a1942836fbc1bd834dd666838104b8763c09a,40
91
- cucu-1.2.6.dist-info/METADATA,sha256=4f58473f7de6093d5813e337979ee71c935d26fd6a8837ea205995350ec0c863,16675
92
- cucu-1.2.6.dist-info/RECORD,,
89
+ cucu-1.2.7.dist-info/WHEEL,sha256=b70116f4076fa664af162441d2ba3754dbb4ec63e09d563bdc1e9ab023cce400,78
90
+ cucu-1.2.7.dist-info/entry_points.txt,sha256=d7559122140cecbb949d0835940a1942836fbc1bd834dd666838104b8763c09a,40
91
+ cucu-1.2.7.dist-info/METADATA,sha256=93fd25ede0d3e3ef27580b7e45cedde94f22eec76eb33f87fd6606c597bb9597,16675
92
+ cucu-1.2.7.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.8.2
2
+ Generator: uv 0.8.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any