Comments (2)
I'll answer my self,
looks like xpath is the only way to do it .. browser.elementByXPath("//*[contains(text(),'some text')][1]/..");
from wd.
I looked at the json wire procol which allows you to use css, but I don't see any CSS selectors that don't use jquery that allow you to get back up to the parents. Seems like it should be easier than that...
from wd.
Related Issues (20)
- waitForElementByXPath/id/name does not poll as per the poll frequency provided.
- I need help getting Android to Scroll WD Appium HOT 14
- How to select spinner value in wd
- synchronous REPL mode?
- promiseChainRemote does not allow https HOT 1
- execute script with arguments not work
- 404 HTTP appium No route found HOT 1
- Running test suites
- promiseChainRemote do not work
- can't work with selenium grid
- WaitForElement -functions do not apply timeout on element lookup
- Consider removing request (as it is deprecated) HOT 1
- Two vulnerabilities are introduced in the package HOT 3
- client.moveTo() is not working on latest version of word 2106 HOT 1
- WD does not get the session id with appium. HOT 1
- is v1.14.0 tag missing?
- Getting 'npm ERR! Cannot read properties of null (reading 'pickAlgorithm')' when running `npm install wd` HOT 1
- [Appium] W3C capabilities should be provided HOT 1
- Missing typescript support HOT 1
- Request has been deprecated and is raising security vulnerabilities HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wd.