[webkit-changes] [WebKit/WebKit] 65f0b1: [WebDriver] Support "Get Computed Label" command

Lauro Moura noreply at github.com
Sun Oct 30 20:46:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 65f0b17d5ddf4be81078c810fd814b50a65d7f31
      https://github.com/WebKit/WebKit/commit/65f0b17d5ddf4be81078c810fd814b50a65d7f31
  Author: Lauro Moura <lmoura at igalia.com>
  Date:   2022-10-30 (Sun, 30 Oct 2022)

  Changed paths:
    M Source/WebDriver/Session.cpp
    M Source/WebDriver/Session.h
    M Source/WebDriver/WebDriverService.cpp
    M Source/WebDriver/WebDriverService.h
    M WebDriverTests/TestExpectations.json

  Log Message:
  -----------
  [WebDriver] Support "Get Computed Label" command
https://bugs.webkit.org/show_bug.cgi?id=246814

Reviewed by Carlos Garcia Campos.

Tests still marked as xfailure as they need a fix yet to be imported into
local copy. Manually applying the fix shows that they should be passing,
though.

* Source/WebDriver/Session.cpp:
(WebDriver::Session::getComputedRole): Refactor to use getComputedRole
command.
(WebDriver::Session::getComputedLabel): Added
* Source/WebDriver/Session.h:
* Source/WebDriver/WebDriverService.cpp:
(WebDriver::WebDriverService::getComputedLabel): Added
* Source/WebDriver/WebDriverService.h:
* WebDriverTests/TestExpectations.json: Update referenced bug

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




More information about the webkit-changes mailing list