You don’t need to go level up and use ..
since all buttons are on the same level:
//button[contains(.,'Arcade Reader')]/preceding-sibling::button[@name='settings']
Related Posts:
- Easiest way to alter eBay page content/DOM
- Scroll Element into View with Selenium
- Is there a way to get element by XPath using JavaScript in Selenium WebDriver?
- When and how to use switchTo() method in webDriver (Selenium 2) to handle window/pop up
- SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81
- How to use XPath contains() here?
- XPath contains(text(),’some string’) doesn’t work when used with node with more than one Text subnode
- I need an XPATH to extract data from www.gsmarena.com
- SBOX_FATAL_MEMORY_EXCEEDED error shown when Chromedriver turned 1800-1900 pages using Selenium
- ImportError: No module named ‘selenium’
- MacOS Catalina(v 10.15.3): Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser
- XPath //div[contains(text(), ‘string’)] fails to select divs containing ‘string’
- element not interactable exception in selenium web automation
- selenium – chromedriver executable needs to be in PATH
- Wait for page load in Selenium
- Running Selenium with Headless Chrome Webdriver
- Selenium using Python – Geckodriver executable needs to be in PATH
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- Convert XML to CSV file
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- How to get locator of current web element?
- Wait until page is loaded with Selenium WebDriver for Python
- XPath: Get parent node from child node
- How to select a drop-down menu value with Selenium using Python?
- Converting JSON to XML in Java
- Call a Class From another class
- XPath OR operator for different nodes
- How to open a new tab using Selenium WebDriver in Java?
- Selenium Webdriver: Element Not Visible Exception
- Xpath: select div that contains class AND whose specific child element contains text
- can we use XPath with BeautifulSoup?
- XSLT string replace
- Can not click on a Element: ElementClickInterceptedException in Splinter / Selenium
- Selenium using Java – The path to the driver executable must be set by the webdriver.gecko.driver system property
- Selenium “Unable to find a matching set of capabilities” despite driver being in /usr/local/bin
- ElementClickInterceptedException: element click intercepted:
- Getting attribute using XPath
- Test if element is present using Selenium WebDriver?
- How to parse XML in Bash?
- Webdriver Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms