Comments (3)
@kaviarasan96 Currently there is no other way. Can you talk to your n/w team to whitelist it? I will consider this a feature in the next releases.
from java-a11y.
@kaviarasan96
try using local copy of the js file as a test resource.
your test resources should override those in java-a11y.
- use java-a11y as test dependency
<dependency>
<groupId>io.github.sridharbandi</groupId>
<artifactId>java-a11y</artifactId>
<version>3.0.0</version>
<scope>test</scope>
</dependency>
- download https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js to src/test/resources/build/HTMLCS.js
- download https://github.com/sridharbandi/Java-a11y/blob/master/src/main/resources/js/htmlcs.js to src/test/resources/js/htmlcs.js
- replace https://squizlabs.github.io/HTML_CodeSniffer/build/HTMLCS.js with ./build/HTMLCS.js in src/test/resources/js/htmlcs.js
- run your test
from java-a11y.
Closing as there is no activity
from java-a11y.
Related Issues (16)
- Cannot read property 'run' of undefined HOT 4
- Accessibility check is invalid when alert or prompt box is found HOT 3
- java.lang.NoSuchFieldError: VERSION_2_3_29 error on generateHtmlReport HOT 6
- Webdriver wait used in A11Y class is not supported in selenium 4 HOT 2
- Unable to generate report because of impact with null value HOT 1
- execute() method not working for selenium 4.4.0 version HOT 3
- man test failed HOT 2
- Utils for getting errors, warnings, notices count HOT 4
- unable to generate report with java-a11y-3.0.2 jar file HOT 28
- some end points are throwing : org.openqa.selenium.WebDriverException: unknown error: Runtime.evaluate threw exception: unknown HOT 5
- Maintining the source code and the repository HOT 1
- Getting error when deserializing JSON HOT 1
- Null Pointer Exception HOT 1
- Difference in errors HOT 4
- Unable to generate HTML report HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-a11y.