Skip to content

Fix cross-frame drag-and-drop tests in headless Chrome - #2001

Merged
emanlove merged 2 commits into
robotframework:masterfrom
b-vamsipunnam:fix/drag-drop-viewport
Nov 12, 2026
Merged

emanlove merged 2 commits into
robotframework:masterfrom
b-vamsipunnam:fix/drag-drop-viewport

Conversation

@b-vamsipunnam

Copy link
Copy Markdown
Contributor

Summary

The cross-frame drag-and-drop tests were failing in headless Chrome with MoveTargetOutOfBoundsException, while the same tests passed in regular Chrome.

After investigating, I found that the iframe layout needed more space than the default headless browser window provided.

Changes

  • Set the window size to 1440 × 1000 before each test.
  • Restore the original window size after each test so other tests aren't affected.
  • No changes to the existing test cases or keyword implementation.

Testing

  • Headless Chrome: 9/9 passed
  • Chrome: 9/9 passed

@emanlove
emanlove merged commit 3e13706 into robotframework:master Nov 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants