A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/seleniumhq/selenium/commit/a29c5843c12f2107d9870c10f77141deebcbe3c5 below:

Remove unnecessary list comprehensions in actions · SeleniumHQ/selenium@a29c584 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -63,7 +63,7 @@ def encode(self):

63 63

return {"type": self.type,

64 64

"parameters": {"pointerType": self.kind},

65 65

"id": self.name,

66 -

"actions": [acts for acts in self.actions]}

66 +

"actions": self.actions}

67 67 68 68

def _convert_keys(self, actions):

69 69

out = {}

Original file line number Diff line number Diff line change

@@ -59,7 +59,7 @@ def __init__(self, name) -> None:

59 59

def encode(self) -> dict:

60 60

return {"type": self.type,

61 61

"id": self.name,

62 -

"actions": [acts for acts in self.actions]}

62 +

"actions": self.actions}

63 63 64 64

def create_scroll(self, x: int, y: int, delta_x: int,

65 65

delta_y: int, duration: int, origin) -> None:

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4