Skip to content

Commit

Permalink
Attempt to start dbus when starting chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed Apr 20, 2017
1 parent f990a76 commit c86699c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion check_stability.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ def wptrunner_args(self, root):

def extra_setup(self):
# c.f. https://bugs.chromium.org/p/chromedriver/issues/detail?id=1699#c17
os.environ["DBUS_SESSION_BUS_ADDRESS"] = '/dev/null'
if "DBUS_SESSION_BUS_ADDRESS" not in os.environ:
subprocess.check_output(["dbus-launch"])


def get(url):
Expand Down

1 comment on commit c86699c

@RByers
Copy link
Contributor

@RByers RByers commented on c86699c Apr 21, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that chromium bug 713947 tracks getting this fixed properly (root cause in GLib).

Please sign in to comment.