summaryrefslogtreecommitdiff
path: root/selenium_eduvpn.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-10-25 14:14:17 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2023-10-25 16:34:13 +0200
commit67161ca7b0cbcd2a37a51c7fd8fcfdbe0c577293 (patch)
treebaeccb61d27e923d3db29bd870faa728bb25bf1f /selenium_eduvpn.py
parent7a4a4b9a648fb072d9641abac893731770d7f028 (diff)
Format: Run Black
Diffstat (limited to 'selenium_eduvpn.py')
-rw-r--r--selenium_eduvpn.py8
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()