Bug 219948

Summary: Send Keys with ALT (OPTION), modifier doesn't release
Product: WebKit Reporter: Luke Hill <lukehill_uk>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bburg, smoley, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Luke Hill 2020-12-16 08:32:24 PST
When doing element.send_keys([:alt, :tab]), the alt key is not "unpressed" after the command.

Subsequent tests where I do element.click do the 'Download as html' auto functionality.

I am testing on Mojave 12 Safari using Ruby Selenium 4-alpha6
Comment 1 Radar WebKit Bug Importer 2020-12-22 12:50:55 PST
<rdar://problem/72597360>
Comment 2 BJ Burg 2021-02-17 08:57:08 PST
Luke, does this reproduce with STP safaridriver or Safari 14.0+?
Comment 3 Luke Hill 2021-02-18 05:21:04 PST
We cannot test Catalina reliably and don't.

I can try STP Mojave 12 (Would that be good).

By 14 do you mean Big Sur? Is that being referred to as Safari 14?
Comment 4 BJ Burg 2021-02-18 14:52:37 PST
(In reply to Luke Hill from comment #3)
> We cannot test Catalina reliably and don't.
> 
> I can try STP Mojave 12 (Would that be good).
> 
> By 14 do you mean Big Sur? Is that being referred to as Safari 14?

Safari 14 shipped for Big Sur with the OS, and for Catalina as a software update.

Mojave has not received STP updates since Big Sur was released, so I don't think we can make progress on this.. unless you write a standalone test case that I can run.
Comment 5 Luke Hill 2021-02-23 06:40:43 PST
Is there a way I can reliably run Big Sur? Using Browserstack for example?

What do I set the capabilities as? I'll give it a run for that.
Comment 6 Luke Hill 2021-03-10 04:01:17 PST
I've re-tested this on Catalina Safari 13. It still fails.

I cannot re-test on a Desktop Safari Big Sur - As this isn't a supported matrix yet via Browserstack.

Testing via iOS isn't representative, as people don't tab using a mobile phone.