diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-04-12 22:48:02 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | e361ec863961982e01f3d7f5842245dac88a05fd (patch) | |
| tree | ce5a92cc598d62c9a3c950d5c7bc742405943f64 /selenium_eduvpn.py | |
| parent | 1e54063813efb6e822df36ad39d7f889a7f2e38b (diff) | |
Format: Run gofumpt (Go) + black (py)
Diffstat (limited to 'selenium_eduvpn.py')
| -rw-r--r-- | selenium_eduvpn.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/selenium_eduvpn.py b/selenium_eduvpn.py index b3a7c5f..2f452a0 100644 --- a/selenium_eduvpn.py +++ b/selenium_eduvpn.py @@ -46,15 +46,15 @@ def login_oauth(driver, authURL): elem.send_keys(portal_pass) # Click login button - driver.find_element("css selector", - ".frm > fieldset:nth-child(2) > button:nth-child(2)" + driver.find_element( + "css selector", ".frm > fieldset:nth-child(2) > button:nth-child(2)" ).click() # Check that we have reached the approve application page assert "VPN Portal - Approve Application" in driver.title # Click approve - driver.find_element("css selector", - ".frm > fieldset:nth-child(1) > button:nth-child(1)" + driver.find_element( + "css selector", ".frm > fieldset:nth-child(1) > button:nth-child(1)" ).click() |
