[webkit-changes] [WebKit/WebKit] 56dbdd: [WebDriver][WPE][GTK] Enable WebDriver connection ...

Jani Hautakangas noreply at github.com
Fri Mar 15 23:43:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 56dbdddc059f3ee1689f34d8626600722aebcc73
      https://github.com/WebKit/WebKit/commit/56dbdddc059f3ee1689f34d8626600722aebcc73
  Author: Jani Hautakangas <jani at igalia.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M Source/WebDriver/Capabilities.h
    M Source/WebDriver/SessionHost.h
    M Source/WebDriver/WebDriverService.cpp
    M Source/WebDriver/WebDriverService.h
    M Source/WebDriver/glib/SessionHostGlib.cpp
    M Source/WebDriver/gtk/WebDriverServiceGtk.cpp
    M Source/WebDriver/wpe/WebDriverServiceWPE.cpp

  Log Message:
  -----------
  [WebDriver][WPE][GTK] Enable WebDriver connection to already running browser
https://bugs.webkit.org/show_bug.cgi?id=270630

Reviewed by Carlos Garcia Campos.

In some embedded cases WebDriver needs to be able to connect to already
existing instance of browser running automation session. There's already
code in WebDriver to support this scenario but it's not used in WPE/GTK.

* Source/WebDriver/Capabilities.h:
* Source/WebDriver/SessionHost.h:
* Source/WebDriver/WebDriverService.cpp:
(WebDriver::printUsageStatement):
(WebDriver::WebDriverService::run):
(WebDriver::WebDriverService::connectToBrowser):
* Source/WebDriver/WebDriverService.h:
* Source/WebDriver/glib/SessionHostGlib.cpp:
(WebDriver::SessionHost::isConnected const):
(WebDriver::SessionHost::launchBrowser):
(WebDriver::SessionHost::connectToBrowser):
(WebDriver::SessionHost::connectionDidClose):
* Source/WebDriver/gtk/WebDriverServiceGtk.cpp:
(WebDriver::WebDriverService::platformParseCapabilities const):
* Source/WebDriver/wpe/WebDriverServiceWPE.cpp:
(WebDriver::WebDriverService::platformParseCapabilities const):

Canonical link: https://commits.webkit.org/276231@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list