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

feat(browser): auto-unwrap ElementFinder into WebElement for selenium… #3471

Merged
merged 1 commit into from
Aug 22, 2016

Conversation

sjelin
Copy link
Contributor

@sjelin sjelin commented Aug 11, 2016

… funtions

Currently, if you do something like:

browser.executeScript('', element(by.model('modern_major_general')))

you will get a FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory error because selenium doesn't know what to do with our ElementFinder class. This solves that problem, and reduces the need for our users to know about getWebElement

@sjelin
Copy link
Contributor Author

sjelin commented Aug 12, 2016

Julie I'm assigning this to you because it seems like a pretty consequential change

@juliemr juliemr assigned sjelin and unassigned juliemr Aug 21, 2016
@cnishina cnishina merged commit c5faf08 into angular:master Aug 22, 2016
cnishina added a commit to cnishina/protractor that referenced this pull request Nov 14, 2018
… and angularAppRoot

- Enabled the driverProviderLocal tests
- Remove auto unwrap test for a WebElement. Reference PR angular#3471
cnishina added a commit to cnishina/protractor that referenced this pull request Nov 14, 2018
… and angularAppRoot

- Enabled the driverProviderLocal tests
- Remove auto unwrap test for a WebElement. Reference PR angular#3471
cnishina added a commit to cnishina/protractor that referenced this pull request Nov 14, 2018
… and angularAppRoot

- Enabled the driverProviderLocal tests
- Remove auto unwrap test for a WebElement. Reference PR angular#3471
cnishina added a commit to cnishina/protractor that referenced this pull request Nov 14, 2018
… and angularAppRoot

- Enabled the driverProviderLocal tests
- Remove auto unwrap test for a WebElement. Reference PR angular#3471
cnishina added a commit to cnishina/protractor that referenced this pull request Nov 14, 2018
… and angularAppRoot

- Enabled the driverProviderLocal tests
- Remove auto unwrap test for a WebElement. Reference PR angular#3471
cnishina added a commit that referenced this pull request Nov 15, 2018
…5034)

Driver providers and tests:

- Use native promises over q promises in driver providers
- Remove driverProviderUseExistingWebDriver since the generation of the selenium server is already accomplished when providing a selenium address in driverProvider.ts. Also clean up docs and tests.
- Enabled the driverProviderLocal tests
- Clean up JSDocs for q.promise

Basic lib spec:

- Remove auto unwrap test for a WebElement. Reference PR #3471

Browser:

- Remove control flow from waitForAngularEnabled, waitForAngular, and angularAppRoot in the Browser class.
cnishina added a commit to cnishina/protractor that referenced this pull request Dec 19, 2018
…ngular#5034)

Driver providers and tests:

- Use native promises over q promises in driver providers
- Remove driverProviderUseExistingWebDriver since the generation of the selenium server is already accomplished when providing a selenium address in driverProvider.ts. Also clean up docs and tests.
- Enabled the driverProviderLocal tests
- Clean up JSDocs for q.promise

Basic lib spec:

- Remove auto unwrap test for a WebElement. Reference PR angular#3471

Browser:

- Remove control flow from waitForAngularEnabled, waitForAngular, and angularAppRoot in the Browser class.
cnishina added a commit to cnishina/protractor that referenced this pull request Mar 23, 2019
…ngular#5034)

Driver providers and tests:

- Use native promises over q promises in driver providers
- Remove driverProviderUseExistingWebDriver since the generation of the selenium server is already accomplished when providing a selenium address in driverProvider.ts. Also clean up docs and tests.
- Enabled the driverProviderLocal tests
- Clean up JSDocs for q.promise

Basic lib spec:

- Remove auto unwrap test for a WebElement. Reference PR angular#3471

Browser:

- Remove control flow from waitForAngularEnabled, waitForAngular, and angularAppRoot in the Browser class.
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.

4 participants