Skip to content

Commit

Permalink
correct dimensions on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtarsi committed Mar 22, 2024
1 parent 91dea93 commit 7a9a544
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/selenium-ide/scripts/ide-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ async function main() {
1000
)
await record.click()

let handles2 = await driver.getAllWindowHandles()
while (handles2.length < 2) {
await driver.sleep(100)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export default class ResizablePanelsController extends BaseController {
const offset = { x: 0, y: 0 }
switch (process.platform) {
case 'win32':
offset.x = 12
offset.y = 21
offset.x = 6
offset.y = 24
break
case 'darwin':
offset.x = 0
Expand Down

0 comments on commit 7a9a544

Please sign in to comment.