Awesome
Plugin for Katalon Recorder
A chrome extension that allows recording your actions then exporting/replaying them as puppeteer code.
If you're looking for a way of easily creating UI tests this is what you have been looking for.
You can download the plugin from the chrome extension web store
Fixing common issues:
Error: Execution context was destroyed, most likely because of a navigation.
- You likely need to add
await page.waitfornavigation();
after yourpage.click()
etc...
- You likely need to add
Supported Katalon Commands:
open
→page.goto
doubleclick
→element.click({ clickCount: 2 });
click
→element.click();
store
→let variable = value;
type
→element.type();
pause
→page.waitFor();
mouseover
→page.hover();
deleteallvisiblecookies
→page.deleteCookie(await page.cookies());
capturescreenshot
→page.screenshot({ path: 'name.png' });
captureentirepagescreenshot
→page.screenshot({ path: 'name.png', fullPage: true });
bringbrowsertoforeground
→page.bringToFront();
refresh
→page.reload();
echo
→console.log();
get
→page.goto();
comment
→// comment
submit
→page.evaluate(form => form.submit(), formElement);
sendkeys
→page.keyboard.press();
selectframe
→frames.find(f => f.name() === 'targetName');
selectwindow
assertelementpresent
verifyelementpresent
waitforpagetoload
waitforvisible
→page.waitForXPath('target', { visible: true });