Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

feat(mobile): add extended wd commands for appium #3860

Merged
merged 1 commit into from
Dec 22, 2016

Conversation

sjelin
Copy link
Contributor

@sjelin sjelin commented Dec 21, 2016

Had to make some minor changes to the website to handle longer inheritance
chains

Closes #1940

* just an instance of `selenium-webdriver`'s WebDriver with some extra methods
* added in. The `browser` object inherits all of WebDriver's and
* ExtendedWebDriver's methods, but only the methods most useful to Protractor
* users are documented here.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment should mention that these are available only if your server has appium.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done (see below)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sjelin , do you see this latest commit as something that can assist testing hybrid app with Protractor?

@juliemr
Copy link
Member

juliemr commented Dec 22, 2016

Other than one comment LGTM, and CI is happy, yay!

Had to make some minor changes to the website to handle longer inheritance
chains

Closes angular#1940
@sjelin
Copy link
Contributor Author

sjelin commented Dec 22, 2016

I can't quite check docgen due to #3869, but it looks about as good as it could considering, and before I switch to the beta branch (back in #3326) docgen was good. I'll merge as soon as I hear back from CI.

@sjelin sjelin merged commit 87211cd into angular:beta Dec 22, 2016
juliemr pushed a commit that referenced this pull request Dec 22, 2016
Also had to make some minor changes to the website to handle longer inheritance
chains

Closes #1940
juliemr pushed a commit that referenced this pull request Dec 28, 2016
Also had to make some minor changes to the website to handle longer inheritance
chains

Closes #1940
sjelin added a commit that referenced this pull request Dec 28, 2016
Also had to make some minor changes to the website to handle longer inheritance
chains

Closes #1940
juliemr pushed a commit that referenced this pull request Dec 29, 2016
Also had to make some minor changes to the website to handle longer inheritance
chains

Closes #1940
@thyagab
Copy link

thyagab commented May 4, 2017

@juliemr are selectors to identify elements with accessability id's for native ios app are supported?

@wswebcreation
Copy link
Contributor

wswebcreation commented May 4, 2017

@thyagab ,

I dont think it's wise to @ mention individual members. There are a lot contributers that collaborate on the issues / PR's.

As an answer for your question. This is the browser support list. Protractor doesn't (officially) supports Native apps with native selectors.

In a previous project I worked with a Hybrid App with native elements. The app opened with a webview, but some screens were native. To access the native elements with Protractor I used wd and wd-bridge. I then needed to:

  • change the context from webview to native with for example wdBrowser.context(context) where context was or webview or native
  • click on an element with for example wdBrowser.elementById(something:id/key_cell0).click()

Hopefully this helps you

Grtz

Wim

@thyagab
Copy link

thyagab commented May 4, 2017

Thank you for response. We are looking for native app support which seems not there at thi spoint.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants