mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Update web-platform-tests to revision 84af6c875d378944b39d895acdcfc170736b2d3d
This commit is contained in:
parent
d0bd2d5e44
commit
b81cdc75ce
246 changed files with 10836 additions and 1337 deletions
|
@ -313,7 +313,7 @@ class Find(object):
|
|||
self.session = session
|
||||
|
||||
@command
|
||||
def css(self, element_selector, frame, all=True):
|
||||
def css(self, element_selector, all=True, frame="window"):
|
||||
if (frame != "window"):
|
||||
self.session.switch_frame(frame)
|
||||
elements = self._find_element("css selector", element_selector, all)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue