Upload 2 files
Browse files- .gitattributes +1 -0
- glory.py +169 -0
- smollm-360m-instruct-add-basics-q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
smollm-360m-instruct-add-basics-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
glory.py
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Generated by Selenium IDE
|
| 2 |
+
import pytest
|
| 3 |
+
import time
|
| 4 |
+
import json
|
| 5 |
+
from selenium import webdriver
|
| 6 |
+
from selenium.webdriver.common.by import By
|
| 7 |
+
from selenium.webdriver.common.action_chains import ActionChains
|
| 8 |
+
from selenium.webdriver.support import expected_conditions
|
| 9 |
+
from selenium.webdriver.support.wait import WebDriverWait
|
| 10 |
+
from selenium.webdriver.common.keys import Keys
|
| 11 |
+
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
|
| 12 |
+
|
| 13 |
+
class TestGlory():
|
| 14 |
+
def setup_method(self, method):
|
| 15 |
+
self.driver = webdriver.Firefox()
|
| 16 |
+
self.vars = {}
|
| 17 |
+
|
| 18 |
+
def teardown_method(self, method):
|
| 19 |
+
self.driver.quit()
|
| 20 |
+
|
| 21 |
+
def test_glory(self):
|
| 22 |
+
# Test name: glory
|
| 23 |
+
# Step # | name | target | value
|
| 24 |
+
# 1 | open | / |
|
| 25 |
+
self.driver.get("https://rentmasseur.com/")
|
| 26 |
+
# 2 | click | css=.jsx-1873612555 > .button |
|
| 27 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-1873612555 > .button").click()
|
| 28 |
+
# 3 | setWindowSize | 1309x753 |
|
| 29 |
+
self.driver.set_window_size(1309, 753)
|
| 30 |
+
# 4 | click | css=.navbar-column > .jsx-2001960601:nth-child(1) > .navigation-link-text |
|
| 31 |
+
self.driver.find_element(By.CSS_SELECTOR, ".navbar-column > .jsx-2001960601:nth-child(1) > .navigation-link-text").click()
|
| 32 |
+
# 5 | click | id=email |
|
| 33 |
+
self.driver.find_element(By.ID, "email").click()
|
| 34 |
+
# 6 | type | id=email | Karpathianwolf
|
| 35 |
+
self.driver.find_element(By.ID, "email").send_keys("Karpathianwolf")
|
| 36 |
+
# 7 | sendKeys | id=email | ${KEY_ENTER}
|
| 37 |
+
self.driver.find_element(By.ID, "email").send_keys(Keys.ENTER)
|
| 38 |
+
# 8 | click | id=password |
|
| 39 |
+
self.driver.find_element(By.ID, "password").click()
|
| 40 |
+
# 9 | type | id=password | Lola369!
|
| 41 |
+
self.driver.find_element(By.ID, "password").send_keys("Lola369!")
|
| 42 |
+
# 10 | click | css=.switch |
|
| 43 |
+
self.driver.find_element(By.CSS_SELECTOR, ".switch").click()
|
| 44 |
+
# 11 | click | css=.jsx-1345806167 > .button |
|
| 45 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-1345806167 > .button").click()
|
| 46 |
+
# 12 | click | css=.status-icon-green |
|
| 47 |
+
self.driver.find_element(By.CSS_SELECTOR, ".status-icon-green").click()
|
| 48 |
+
# 13 | mouseOver | css=.navigation-link > .icon-available |
|
| 49 |
+
element = self.driver.find_element(By.CSS_SELECTOR, ".navigation-link > .icon-available")
|
| 50 |
+
actions = ActionChains(self.driver)
|
| 51 |
+
actions.move_to_element(element).perform()
|
| 52 |
+
# 14 | mouseOut | css=.navigation-link > .icon-available |
|
| 53 |
+
element = self.driver.find_element(By.CSS_SELECTOR, "body")
|
| 54 |
+
actions = ActionChains(self.driver)
|
| 55 |
+
actions.move_to_element(element, 0, 0).perform()
|
| 56 |
+
# 15 | select | css=.has-width-50per:nth-child(2) > .jsx-2753549060 > .jsx-2753549060 | label=6 Hours
|
| 57 |
+
dropdown = self.driver.find_element(By.CSS_SELECTOR, ".has-width-50per:nth-child(2) > .jsx-2753549060 > .jsx-2753549060")
|
| 58 |
+
dropdown.find_element(By.XPATH, "//option[. = '6 Hours']").click()
|
| 59 |
+
# 16 | click | css=.jsx-2753549060:nth-child(6) |
|
| 60 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-2753549060:nth-child(6)").click()
|
| 61 |
+
# 17 | click | css=.jsx-2753549060 > .button |
|
| 62 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-2753549060 > .button").click()
|
| 63 |
+
# 18 | click | css=.jsx-1820926561 > .item-hover |
|
| 64 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-1820926561 > .item-hover").click()
|
| 65 |
+
# 19 | runScript | window.scrollTo(0,110) |
|
| 66 |
+
self.driver.execute_script("window.scrollTo(0,110)")
|
| 67 |
+
# 20 | click | linkText=My Interview |
|
| 68 |
+
self.driver.find_element(By.LINK_TEXT, "My Interview").click()
|
| 69 |
+
# 21 | runScript | window.scrollTo(0,0) |
|
| 70 |
+
self.driver.execute_script("window.scrollTo(0,0)")
|
| 71 |
+
# 22 | click | css=.jsx-3552218322:nth-child(5) > .jsx-3552218322 > .jsx-2745941253 |
|
| 72 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-3552218322:nth-child(5) > .jsx-3552218322 > .jsx-2745941253").click()
|
| 73 |
+
# 23 | click | css=.option:nth-child(1) |
|
| 74 |
+
self.driver.find_element(By.CSS_SELECTOR, ".option:nth-child(1)").click()
|
| 75 |
+
# 24 | click | css=.is-justify-content-end |
|
| 76 |
+
self.driver.find_element(By.CSS_SELECTOR, ".is-justify-content-end").click()
|
| 77 |
+
# 25 | click | css=.jsx-3552218322:nth-child(6) .jsx-2745941253 > .jsx-2745941253 |
|
| 78 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-3552218322:nth-child(6) .jsx-2745941253 > .jsx-2745941253").click()
|
| 79 |
+
# 26 | click | css=.option:nth-child(1) |
|
| 80 |
+
self.driver.find_element(By.CSS_SELECTOR, ".option:nth-child(1)").click()
|
| 81 |
+
# 27 | click | css=.is-justify-content-end |
|
| 82 |
+
self.driver.find_element(By.CSS_SELECTOR, ".is-justify-content-end").click()
|
| 83 |
+
# 28 | runScript | window.scrollTo(0,550) |
|
| 84 |
+
self.driver.execute_script("window.scrollTo(0,550)")
|
| 85 |
+
# 29 | click | css=.jsx-3552218322:nth-child(7) .jsx-2745941253 > .jsx-2745941253 |
|
| 86 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-3552218322:nth-child(7) .jsx-2745941253 > .jsx-2745941253").click()
|
| 87 |
+
# 30 | click | css=.option:nth-child(1) |
|
| 88 |
+
self.driver.find_element(By.CSS_SELECTOR, ".option:nth-child(1)").click()
|
| 89 |
+
# 31 | click | css=.is-justify-content-end |
|
| 90 |
+
self.driver.find_element(By.CSS_SELECTOR, ".is-justify-content-end").click()
|
| 91 |
+
# 32 | runScript | window.scrollTo(0,129) |
|
| 92 |
+
self.driver.execute_script("window.scrollTo(0,129)")
|
| 93 |
+
# 33 | click | linkText=Photos |
|
| 94 |
+
self.driver.find_element(By.LINK_TEXT, "Photos").click()
|
| 95 |
+
# 34 | click | css=.Photos |
|
| 96 |
+
self.driver.find_element(By.CSS_SELECTOR, ".Photos").click()
|
| 97 |
+
# 35 | click | css=.has-cursor-pointer:nth-child(5) .edit-photo |
|
| 98 |
+
self.driver.find_element(By.CSS_SELECTOR, ".has-cursor-pointer:nth-child(5) .edit-photo").click()
|
| 99 |
+
# 36 | runScript | window.scrollTo(0,0) |
|
| 100 |
+
self.driver.execute_script("window.scrollTo(0,0)")
|
| 101 |
+
# 37 | click | css=.icon-font:nth-child(4) |
|
| 102 |
+
self.driver.find_element(By.CSS_SELECTOR, ".icon-font:nth-child(4)").click()
|
| 103 |
+
# 38 | click | css=.has-cursor-pointer:nth-child(4) .edit-photo |
|
| 104 |
+
self.driver.find_element(By.CSS_SELECTOR, ".has-cursor-pointer:nth-child(4) .edit-photo").click()
|
| 105 |
+
# 39 | runScript | window.scrollTo(0,0) |
|
| 106 |
+
self.driver.execute_script("window.scrollTo(0,0)")
|
| 107 |
+
# 40 | click | css=.icon-font:nth-child(4) |
|
| 108 |
+
self.driver.find_element(By.CSS_SELECTOR, ".icon-font:nth-child(4)").click()
|
| 109 |
+
# 41 | runScript | window.scrollTo(0,349) |
|
| 110 |
+
self.driver.execute_script("window.scrollTo(0,349)")
|
| 111 |
+
# 42 | click | linkText=My Blog |
|
| 112 |
+
self.driver.find_element(By.LINK_TEXT, "My Blog").click()
|
| 113 |
+
# 43 | runScript | window.scrollTo(0,0) |
|
| 114 |
+
self.driver.execute_script("window.scrollTo(0,0)")
|
| 115 |
+
# 44 | click | css=.jsx-2674725205:nth-child(7) .jsx-2745941253 > .jsx-2745941253 |
|
| 116 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-2674725205:nth-child(7) .jsx-2745941253 > .jsx-2745941253").click()
|
| 117 |
+
# 45 | click | css=.jsx-2745941253 > .jsx-2674725205:nth-child(1) |
|
| 118 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-2745941253 > .jsx-2674725205:nth-child(1)").click()
|
| 119 |
+
# 46 | click | css=.button-container |
|
| 120 |
+
self.driver.find_element(By.CSS_SELECTOR, ".button-container").click()
|
| 121 |
+
# 47 | runScript | window.scrollTo(0,1392) |
|
| 122 |
+
self.driver.execute_script("window.scrollTo(0,1392)")
|
| 123 |
+
# 48 | click | css=.jsx-2674725205:nth-child(8) .jsx-2745941253 > .jsx-2745941253 |
|
| 124 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-2674725205:nth-child(8) .jsx-2745941253 > .jsx-2745941253").click()
|
| 125 |
+
# 49 | click | css=.jsx-2745941253 > .jsx-2674725205:nth-child(1) |
|
| 126 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-2745941253 > .jsx-2674725205:nth-child(1)").click()
|
| 127 |
+
# 50 | click | css=.button-container |
|
| 128 |
+
self.driver.find_element(By.CSS_SELECTOR, ".button-container").click()
|
| 129 |
+
# 51 | runScript | window.scrollTo(0,1392) |
|
| 130 |
+
self.driver.execute_script("window.scrollTo(0,1392)")
|
| 131 |
+
# 52 | click | linkText=Massages & Rates |
|
| 132 |
+
self.driver.find_element(By.LINK_TEXT, "Massages & Rates").click()
|
| 133 |
+
# 53 | click | css=.jsx-200115206:nth-child(5) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2) |
|
| 134 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(5) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2)").click()
|
| 135 |
+
# 54 | type | css=.jsx-200115206:nth-child(5) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2) | 239
|
| 136 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(5) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2)").send_keys("239")
|
| 137 |
+
# 55 | click | css=.jsx-200115206:nth-child(5) .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2) |
|
| 138 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(5) .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2)").click()
|
| 139 |
+
# 56 | type | css=.jsx-200115206:nth-child(5) .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2) | 279
|
| 140 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(5) .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2)").send_keys("279")
|
| 141 |
+
# 57 | click | css=.jsx-200115206:nth-child(3) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2) |
|
| 142 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(3) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2)").click()
|
| 143 |
+
# 58 | type | css=.jsx-200115206:nth-child(3) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2) | 239
|
| 144 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(3) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2)").send_keys("239")
|
| 145 |
+
# 59 | click | css=.jsx-200115206:nth-child(3) .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2) |
|
| 146 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(3) .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2)").click()
|
| 147 |
+
# 60 | type | css=.jsx-200115206:nth-child(3) .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2) | 269
|
| 148 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(3) .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2)").send_keys("269")
|
| 149 |
+
# 61 | click | css=.jsx-200115206:nth-child(2) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2) |
|
| 150 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(2) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2)").click()
|
| 151 |
+
# 62 | type | css=.jsx-200115206:nth-child(2) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2) | 233
|
| 152 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(2) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(1) > .jsx-200115206:nth-child(2)").send_keys("233")
|
| 153 |
+
# 63 | click | css=.jsx-200115206:nth-child(2) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2) |
|
| 154 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(2) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2)").click()
|
| 155 |
+
# 64 | type | css=.jsx-200115206:nth-child(2) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2) | 269
|
| 156 |
+
self.driver.find_element(By.CSS_SELECTOR, ".jsx-200115206:nth-child(2) > .jsx-200115206 > .jsx-200115206 > .jsx-200115206:nth-child(2) > .jsx-200115206:nth-child(2)").send_keys("269")
|
| 157 |
+
# 65 | click | name=incallPrice |
|
| 158 |
+
self.driver.find_element(By.NAME, "incallPrice").click()
|
| 159 |
+
# 66 | type | name=incallPrice | 230
|
| 160 |
+
self.driver.find_element(By.NAME, "incallPrice").send_keys("230")
|
| 161 |
+
# 67 | click | name=outcallPrice |
|
| 162 |
+
self.driver.find_element(By.NAME, "outcallPrice").click()
|
| 163 |
+
# 68 | type | name=outcallPrice | 269
|
| 164 |
+
self.driver.find_element(By.NAME, "outcallPrice").send_keys("269")
|
| 165 |
+
# 69 | click | css=.Rates |
|
| 166 |
+
self.driver.find_element(By.CSS_SELECTOR, ".Rates").click()
|
| 167 |
+
# 70 | click | css=.is-justify-content-flex-end > .jsx-1644775375 |
|
| 168 |
+
self.driver.find_element(By.CSS_SELECTOR, ".is-justify-content-flex-end > .jsx-1644775375").click()
|
| 169 |
+
|
smollm-360m-instruct-add-basics-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5a2e94a0be8c047bccc3f52bc2f27b79b0dbc688ef3102de54fa6a33b20198c
|
| 3 |
+
size 386405440
|