Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

taiko-android

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

taiko-android

A plugin to run web tests on android devices and emulator using Taiko

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source


TaikoAndroid


Build Status

Demo Doccou alpha

Installation

npm install taiko-android

Usage

import { openBrowser, closeBrowser, goto, evaluate } from 'taiko';

jest.setTimeout(30000);
beforeEach(async () => {
  await openBrowser();
});

afterEach(async () => {
  await closeBrowser();
});
test('Should open browser and send events', async () => {
  await goto('http://the-internet.herokuapp.com/');
  let version = await evaluate(
    () => navigator.appVersion.match(/.*Chrome\/([0-9.]+)/)[1]
  );
  expect(version.result).toBeTruthy();
});

openBrowser Command

Opens the chrome browser and forwards the host and port to taiko and start using all the taiko API.

openBrowser();

closeBrowser Command

Close chrome browser.

closeBrowser();

Thanks for support

TaikoAndroid

Keywords

FAQs

Package last updated on 03 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc