Skip to content

Instantly share code, notes, and snippets.

@NoDataFound
Created March 15, 2023 01:34
Show Gist options
  • Save NoDataFound/a1eb58309396fe677153f658213f7db6 to your computer and use it in GitHub Desktop.
Save NoDataFound/a1eb58309396fe677153f658213f7db6 to your computer and use it in GitHub Desktop.
VoteyVotes
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
class TestHttpsbracketaccountinghighcom():
def setup_method(self, method):
self.driver = webdriver.Chrome()
self.vars = {}
def teardown_method(self, method):
self.driver.quit()
def test_httpsbracketaccountinghighcom(self):
# Test name: https://bracket.accountinghigh.com/
# Step # | name | target | value
# 1 | open | / |
self.driver.get("https://bracket.accountinghigh.com/")
# 2 | setWindowSize | 1262x1440 |
self.driver.set_window_size(1262, 1440)
# 3 | click | css=.baTaIaEh |
self.driver.find_element(By.CSS_SELECTOR, ".baTaIaEh").click()
# 4 | click | css=.baTaIaPe > div |
self.driver.find_element(By.CSS_SELECTOR, ".baTaIaPe > div").click()
# 5 | click | css=.entry-14 > .baTaInaJ > div |
self.driver.find_element(By.CSS_SELECTOR, ".entry-14 > .baTaInaJ > div").click()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment