Manoj is a Lead Technical Specialist and Evangelist at Applitools, a member of the Steering committee and a contributor for Selenium project. He is an open-source enthusiast and has contributed to different libraries that shall help test apps faster with libraries like Selenium, ngWebDriver, Protractor, NemoJs and Serenity. He is an avid Accessibility enthusiast.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { chromium } = require('playwright'); | |
(async () => { | |
const browser = await chromium.launch(); | |
const context = await browser.newContext(); | |
const page = await context.newPage(); | |
page.on('pageerror', console.log); | |
await page.goto('https://www.gov.uk/'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe("Checkbox", () => { | |
describe("a11y", () => { | |
beforeEach(() => { | |
cy.visit("/component/th-checkbox/example/5"); | |
}); | |
describe("aria-label", () => { | |
describe("without an aria-label attribute specified", () => { | |
it("has an aria-label attribute identical to the checkbox's with-label attribute", () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import selenium from 'selenium-webdriver'; | |
import AxeBuilder from 'axe-webdriverjs'; | |
const Key = selenium.Key; | |
import util from 'util'; | |
let driver; | |
describe('Radio button demo', () => { | |
beforeEach(done => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Applitools.Selenium.Tests | |
{ | |
using System; | |
using System.Drawing; | |
using OpenQA.Selenium; | |
using OpenQA.Selenium.Firefox; | |
using OpenQA.Selenium.Chrome; | |
using NUnit.Framework; | |
using OpenQA.Selenium.Remote; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.applitools.seleniumJavaExamples; | |
import com.applitools.eyes.rendering.Eyes; | |
import com.applitools.eyes.rendering.Target; | |
import com.applitools.eyes.visualGridClient.model.RenderingConfiguration; | |
import com.applitools.eyes.visualGridClient.model.TestResultSummary; | |
import com.applitools.eyes.visualGridClient.services.VisualGridManager; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.applitools.eyes.appium; | |
import com.applitools.eyes.LogHandler; | |
import com.applitools.eyes.ProxySettings; | |
import com.applitools.eyes.StdoutLogHandler; | |
import io.appium.java_client.MobileBy; | |
import io.appium.java_client.MobileElement; | |
import io.appium.java_client.Setting; | |
import io.appium.java_client.TouchAction; | |
import io.appium.java_client.android.AndroidDriver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const assert = require('assert'); | |
const {Builder, By, promise, until} = require('selenium-webdriver'); | |
const {Eyes, Target} = require('eyes.selenium'); | |
promise.USE_PROMISE_MANAGER = false; | |
describe('Frame Test', function() { | |
let driver; | |
let eyes; | |
beforeEach(async function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.applitools.seleniumJavaExamples; | |
import com.applitools.eyes.BatchInfo; | |
import com.applitools.eyes.MatchLevel; | |
import com.applitools.eyes.RectangleSize; | |
import com.applitools.eyes.selenium.Eyes; | |
import com.applitools.eyes.selenium.StitchMode; | |
import org.openqa.selenium.WebDriver; |
NewerOlder