-
-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leverage IDE window on command error #1066
Comments
There is a preliminary check in code export to make sure that the commands are valid before proceeding. If it's not then it displays an error message with details about what was missing. In the example you provided, you're trying to export an incomplete |
@tourdedave thanks for your answer. Yes, I have such checks. But when I clicked 'export' button (choosing my new language) the error message was not shown (I only can see it in plugin console). Here is a background.js What should I do to have such a dialog with error as above on the screenshot? |
Ah, apologies. I misunderstood. You need to catch and pass the error back through Otherwise it will only bubble to the console. |
thanks! I've added it selenide/selenide-for-selenium-ide#5 but now I see 'Save' window with filename, like 'c27c5e16-d11e-4649-a4a3-d6c431b3edd4' and no errors. maybe I misunderstand how to use it... |
@tourdedave seems this does not work for me too... Also, I've even tried to just send error block but nothing happens:
|
Seems like a bug. |
💬 Questions and Help
Hello guys!
My intro:
We have a separate plugin for exporting new language: Selenide for Selenium IDE
I've used your example 'extension-boilerplate' package and documentation https://www.selenium.dev/selenium-ide/docs/en/plugins/code-export as you suggested
Also previously I've thought to directly merge it to the core codebase #1032
My question:
We've faced with the next behavior:
When there is some error while emitting the command (for example, if command 'type' missing expected target argument) and I export it to 'vendor' language, nothing is happening.
So my goal is to trigger the same window as your codebase has:
Could you suggest me please how can I do it?
The text was updated successfully, but these errors were encountered: