Skip to content

Commit a597349

Browse files
sv-hyacoubHani Yacoub
andauthored
Edit locator (#937)
Co-authored-by: Hani Yacoub <[email protected]>
1 parent f1f189d commit a597349

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/downloads/test_add_zip_type.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ def delete_files_regex_string():
2626
def temp_selectors():
2727
return {
2828
"github-code-button": {
29-
"selectorData": "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div["
30-
"1]/react-partial/div/div/div[2]/div[2]/button",
29+
"selectorData": "//span[@class='prc-Button-Label-pTQ3x' and text()='Code']",
3130
"strategy": "xpath",
3231
"groups": [],
3332
},

0 commit comments

Comments
 (0)