Merge branch 'paretje-webkitelemparent'
This commit is contained in:
commit
d24162927a
@ -160,9 +160,9 @@ Contributors, sorted by the number of commits in descending order:
|
||||
* Patric Schmitz
|
||||
* Tarcisio Fedrizzi
|
||||
* Claude
|
||||
* Kevin Velghe
|
||||
* Corentin Julé
|
||||
* meles5
|
||||
* Kevin Velghe
|
||||
* Philipp Hansch
|
||||
* Daniel Karbach
|
||||
* Panagiotis Ktistakis
|
||||
|
@ -148,7 +148,7 @@ class WebKitElement(webelem.AbstractWebElement):
|
||||
def parent(self):
|
||||
self._check_vanished()
|
||||
elem = self._elem.parent()
|
||||
if elem is None:
|
||||
if elem is None or elem.isNull():
|
||||
return None
|
||||
return WebKitElement(elem, tab=self._tab)
|
||||
|
||||
|
@ -180,6 +180,11 @@ Feature: Using hints
|
||||
- data/hints/iframe_target.html
|
||||
- data/hello.txt (active)
|
||||
|
||||
Scenario: Clicking on iframe with :hint all current
|
||||
When I open data/hints/iframe.html
|
||||
And I hint with args "all current" and follow a
|
||||
Then no crash should happen
|
||||
|
||||
### hints -> auto-follow-timeout
|
||||
|
||||
@not_osx
|
||||
|
Loading…
Reference in New Issue
Block a user