Dropdowns that fits in the browser (Firefox) window is not visible for sikulix on Ubuntu 16.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Opinion
|
Undecided
|
RaiMan |
Bug Description
Setup:
Sikuli 1.1.0
Firefox 50.1.0, Chrome 55.0.2+
Ubuntu 16.04 64-bit
When I try to select something from a dropdown (HTML Select element) that fits in the browser window it wont be visible for sikuli. I made sikulix to save a screenshot when it fails, and in the screenshot the dropdown options is not visible.
If I make it so the dropdown options reaches the outside of the browser edges then it will be visible for sikulix and if I also make it to save a screenshot in that moment the dropdown options will be visible in the screenshot as well.
To make sure it wasnt just my application that was the problem i tried it on w3schools HTML select example with the same result: http://
This is NOT a problem on windows. I havent managed to try it on a Mac yet.
(Keep up the amazing job RaiMan!)
summary: |
Dropdowns that fits in the browser (Firefox) window is not visible for - sikulix + sikulix on Linux |
summary: |
Dropdowns that fits in the browser (Firefox) window is not visible for - sikulix on Linux + sikulix on Ubuntu 16.04 |
description: | updated |
Changed in sikuli: | |
status: | New → Opinion |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.1 |
milestone: | 1.1.1 → 1.1.0 |
Thanks for kind feedback.
I checked on macOS 10.12 with Firefox: the dropdown is visible in the shot.
You might try with version 1.1.1. (which I use)
For now I do not accept this as a SikuliX bug, since the capture completely relies on the java AWT Robot capture feature.
In your case this means, that the dropdown (at least for the "buffer" Java sees) is hidden behind the FF window.
Since with the standard Ubuntu GUI there are some other oddities, I suppose it is an Ubuntu/Java/Firefox problem.
In your case I do not see a workaround besides using Selenium for that.