-
Notifications
You must be signed in to change notification settings - Fork 672
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
Allow TestCafe to be used for Browser Automation only (no testing) #2501
Comments
Could you please describe the scenario where it is necessary? |
I have used TestCafe before and like the simplicity in setup and API. Hence I therefore wanted to use it to automate some forum activity. The testing part is not important to me in this case. I could kludge it by having this code inside a test fixture, but it will always pass. |
This would also allow TestCafe to be easily adopted by teams who are currently using Selenium or another test framework such as Cucumber, Mocha, or Jest. Great request. |
One use case in this repo, but this feature would greatly simplify it. |
Is there any progress on this request? |
We haven't made much progress in this direction. Different TestCafe subsystems like сompilers and browser connections are tightly coupled, so it will take a lot of time to separate the browser automation subsystem from other TestCafe code. |
Hi folks, Extracting the browser automation part from TestCafe would require numerous changes, and we do not see much interest in this among the community. This is why, we decided to not implement this feature. However, if someone creates a PR, we will review it. |
Are you requesting a feature or reporting a bug?
Feature
What is the current behavior?
A test fixture is required for browser automation to work. The test controller must be run within the context of a test.
What is the expected behavior?
Browser automation to work regardless of whether in or outside the context of a test
How would you reproduce the current behavior (if this is a bug)?
Execute some browser automation outside of a test fixture.
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
Specify your
The text was updated successfully, but these errors were encountered: