<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>278731</bug_id>
          
          <creation_ts>2024-08-27 08:40:41 -0700</creation_ts>
          <short_desc>[GTK][WebDriver] Update Selenium tests after fixing Selenium upstream WebKitGTK support code</short_desc>
          <delta_ts>2025-01-24 11:47:15 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebDriver</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>283785</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2055657</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2024-08-27 08:40:41 -0700</bug_when>
    <thetext>276878@main /  updated the imported selenium copy after some fixes Selenium upstream regarding WPE. Similar changes will be needed for WebKitGTK in Selenium itself.

For example, after updating `Tools/Scripts/webkitpy/webdriver_tests/webdriver_driver_gtk.py::selenium_name()` to match the new lowercase scheme, running selenium tests with GTK results in:

./Tools/Scripts/run-webdriver-tests --release --gtk &quot;imported/selenium/py/test/selenium/webdriver/common/api_example_tests.py::test_find_element_by_xpath&quot;

```
...
ERROR ../../../../app/webkit/WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/api_example_tests.py::test_find_element_by_xpath[webkitgtk] - AttributeError: module &apos;selenium.webdriver&apos; has no attribute &apos;Webkitgtk&apos;
...
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2089589</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2025-01-24 11:46:39 -0800</bug_when>
    <thetext>Ended up being fixed in 288959@main (bug283785)

*** This bug has been marked as a duplicate of bug 283785 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2089591</commentid>
    <comment_count>2</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2025-01-24 11:47:15 -0800</bug_when>
    <thetext>For the record, the selenium upstream fix was https://github.com/SeleniumHQ/selenium/pull/15046</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>