Need to keep driver alive from qutting after any called feature
See original GitHub issueCurrently, if we initialize a driver in a feature and call another feature in it, once the called feature is executed it is quitting the parent feature’s driver instance.
Feature: browser automation
Background:
* configure driver = { type: 'geckodriver', showDriverLog: true }
Scenario: try to login to github
Given driver 'https://google.com'
And input("input[name=q]", 'karate dsl')
When submit().click("input[name=btnI]")
Then match driver.url == 'https://github.com/intuit/karate'
* def callUsers = call read("users.feature")
* def bytes = driver.screenshot()
* karate.embed(bytes, 'image/png')
in the above example after users.feature
it is observed that driver instance is quitting and usage of driver
will give an error.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Need to keep driver alive from qutting after any called feature
Currently, if we initialize a driver in a feature and call another feature in it, once the called feature is executed it is...
Read more >Keep containers alive during daemon downtime
This functionality is called live restore. The live restore option helps reduce container downtime due to daemon crashes, planned outages, or upgrades. Note....
Read more >How to inherit a webdriver instance from a called feature file?
The behavior that I see is that the driver closes when the code reaches the point of going back to the "validation" feature...
Read more >Sovereign Citizens Movement | Southern Poverty Law Center
Sovereign citizens believe they are not under the jurisdiction of the federal government and consider themselves exempt from U.S. law.
Read more >Squad Up, Drop In! Call of Duty®: Warzone™ 2.0 Tactical ...
Its Battle Royale mode will also get some incredible new features in addition ... When this happens, you should keep the following in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ptrthomas Thanks! it is working fine 👍
@babusekaran looks like it was a one-line fix ! can you confirm ?