Skip to content

Commit

Permalink
Add "Protocol" word to WebDriverDevicePosturePart in executorwebdrive…
Browse files Browse the repository at this point in the history
…r.py

Every other class name has "Protocol" word
  • Loading branch information
JuhaVainio committed Apr 5, 2024
1 parent 6561027 commit 63289d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/wptrunner/wptrunner/executors/executorwebdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def remove_virtual_sensor(self, sensor_type):
def get_virtual_sensor_information(self, sensor_type):
return self.webdriver.send_session_command("GET", "sensor/%s" % sensor_type)

class WebDriverDevicePosturePart(DevicePostureProtocolPart):
class WebDriverDevicePostureProtocolPart(DevicePostureProtocolPart):
def setup(self):
self.webdriver = self.parent.webdriver

Expand Down Expand Up @@ -462,7 +462,7 @@ class WebDriverProtocol(Protocol):
WebDriverFedCMProtocolPart,
WebDriverDebugProtocolPart,
WebDriverVirtualSensorPart,
WebDriverDevicePosturePart]
WebDriverDevicePostureProtocolPart]

def __init__(self, executor, browser, capabilities, **kwargs):
super().__init__(executor, browser)
Expand Down

0 comments on commit 63289d9

Please sign in to comment.