question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] action works on Safari, but fails in WebKit

See original GitHub issue

Context:

Code Snippet

const { webkit } = require('playwright');

(async () => {
  const browser = await webkit.launch({
    headless: false
  });
  const context = await browser.newContext();

  // Open new page
  const page = await context.newPage();

  // Go to https://thomas-guettler.de/htmx-swap-err-webkit/page.html
  await page.goto('https://thomas-guettler.de/htmx-swap-err-webkit/page.html');

  // Click textarea[name="comment"]
  await page.click('textarea[name="comment"]');

  // Fill textarea[name="comment"]
  await page.fill('textarea[name="comment"]', 'foobar');

  // Click text=Save
  await page.click('text=Save');

  // ---------------------
  await context.close();
  await browser.close();
})();

Describe the bug

If I press “Save” nothing happens. But finally you should see “Great, delicious food is on its way to you”

This works with chromium. And it works with Safari on MacOS.

Please let me know if you need more info.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pavelfeldmancommented, Apr 5, 2021

Closing as a non-actionable bug, please feel free to file a new one and link this bug if there are remaining questions.

1reaction
guettlicommented, Mar 30, 2021

@pavelfeldman thank you very much for your reply. I will talk to the htmx creators:

https://github.com/bigskysoftware/htmx/issues/438

Read more comments on GitHub >

github_iconTop Results From Across the Web

If Safari on Mac doesn't open a webpage or isn't working as ...
These settings apply to all websites. Test with a private window. A website can store cookies, caches, and other data on your Mac,...
Read more >
Weird rendering bug in desktop webkit (safari/chrome) with ...
Keep in mind, this only happens in Safari/Chrome on the desktop. Safari on the iPad and Firefox on the desktop are working fine....
Read more >
202589 – Unable to Click on Safari 13 - WebKit Bugzilla
Webdriver/SafariDriver is Unable to click on buttons on the page. ... This bug is about a regression in safaridriver and its WebKit parts....
Read more >
Fixing Google Chrome compatibility bugs in websites - FAQ
Google Chrome aims to render sites exactly like Safari. ... userAgent string. Often the checks used are buggy and do not identify Google...
Read more >
appearance - CSS: Cascading Style Sheets - MDN Web Docs
button, Firefox Chrome Safari Edge, The element used to be drawn like a ... -moz-appearance or -webkit-appearance prefix, but not on the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found