`click()` doesn't find `<summary>`, `<label>`, or elements inside `<a>`
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- html, php
- Lĩnh vực
- testing-qa
Hướng nghiên cứu
Bắt đầu trong src/Codeception/Module/WebDriver.php tại WebDriver::_findClickable(), sau đó kiểm tra cách Locator::combine() được sử dụng. Tái hiện các lần nhấp cho
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The HTML5 element <summary> is missing from the list of clickable elements at WebDriver::_findClickable()
I tried to add it there just like the others: ".//summary[normalize-space(.)=$locator]", - but this doesn't really fix it, since there are many elements allowed inside <summary>: https://html.spec.whatwg.org/#the-summary-element
I think this needs to be refactored, since (from looking at the code) elements inside <a> are also not matched, e.g. <a href="..."><div>...</div></a> - which is valid HTML 5: https://html.spec.whatwg.org/#the-a-element
So I guess the arguments that are thrown into Locator::combine() need to be replaced by functions to allow more complex matching logic.
- Ngôn ngữ chính
- PHP
- Star
- 39
- Fork
- 25
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Codeception/module-webdriver
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Codeception/module-webdriver#151 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Codeception/module-webdriver#135 ·
-
Example of `executeAsyncJs()` Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 38/100
Codeception/module-webdriver#130 ·
-
Bug: `MalformedLocatorException` thrown for `id`s that don't start with a character (HTML 5) Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Codeception/module-webdriver#128 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
Codeception/module-webdriver#126 ·
Tất cả issue của Codeception/module-webdriver
Issue tương tự
-
status/awaiting_triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
WordPress/plugin-check#1486 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
az-digital/az_quickstart#6019 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
grokability/snipe-it#19688 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100