Best JavaScript code snippet using synthetixio-synpress
downloadermiddlewares.py
Source:downloadermiddlewares.py
...80 playwright_installed = is_playwright_installed()81 if not playwright_installed:82 logger.info(83 'playwright libraries not installed, start to install')84 install_playwright()85 else:86 logger.info('playwright libraries already installed')87 # init settings88 cls.window_width = settings.get(89 'GERAPY_PLAYWRIGHT_WINDOW_WIDTH', GERAPY_PLAYWRIGHT_WINDOW_WIDTH)90 cls.window_height = settings.get(91 'GERAPY_PLAYWRIGHT_WINDOW_HEIGHT', GERAPY_PLAYWRIGHT_WINDOW_HEIGHT)92 cls.default_user_agent = settings.get('GERAPY_PLAYWRIGHT_DEFAULT_USER_AGENT',93 GERAPY_PLAYWRIGHT_DEFAULT_USER_AGENT)94 cls.headless = settings.get(95 'GERAPY_PLAYWRIGHT_HEADLESS', GERAPY_PLAYWRIGHT_HEADLESS)96 cls.channel = settings.get(97 'GERAPY_PLAYWRIGHT_CHANNEL', GERAPY_PLAYWRIGHT_CHANNEL)98 cls.slow_mo = settings.get(99 'GERAPY_PLAYWRIGHT_SLOW_MO', GERAPY_PLAYWRIGHT_SLOW_MO)100 # cls.ignore_default_args = settings.get('GERAPY_PLAYWRIGHT_IGNORE_DEFAULT_ARGS',101 # GERAPY_PLAYWRIGHT_IGNORE_DEFAULT_ARGS)102 # cls.handle_sigint = settings.get(103 # 'GERAPY_PLAYWRIGHT_HANDLE_SIGINT', GERAPY_PLAYWRIGHT_HANDLE_SIGINT)104 # cls.handle_sigterm = settings.get(105 # 'GERAPY_PLAYWRIGHT_HANDLE_SIGTERM', GERAPY_PLAYWRIGHT_HANDLE_SIGTERM)106 # cls.handle_sighup = settings.get(107 # 'GERAPY_PLAYWRIGHT_HANDLE_SIGHUP', GERAPY_PLAYWRIGHT_HANDLE_SIGHUP)108 cls.devtools = settings.get(109 'GERAPY_PLAYWRIGHT_DEVTOOLS', GERAPY_PLAYWRIGHT_DEVTOOLS)110 cls.executable_path = settings.get(111 'GERAPY_PLAYWRIGHT_EXECUTABLE_PATH', GERAPY_PLAYWRIGHT_EXECUTABLE_PATH)112 cls.disable_extensions = settings.get('GERAPY_PLAYWRIGHT_DISABLE_EXTENSIONS',113 GERAPY_PLAYWRIGHT_DISABLE_EXTENSIONS)114 cls.hide_scrollbars = settings.get(115 'GERAPY_PLAYWRIGHT_HIDE_SCROLLBARS', GERAPY_PLAYWRIGHT_HIDE_SCROLLBARS)116 cls.mute_audio = settings.get(117 'GERAPY_PLAYWRIGHT_MUTE_AUDIO', GERAPY_PLAYWRIGHT_MUTE_AUDIO)118 cls.no_sandbox = settings.get(119 'GERAPY_PLAYWRIGHT_NO_SANDBOX', GERAPY_PLAYWRIGHT_NO_SANDBOX)120 cls.disable_setuid_sandbox = settings.get('GERAPY_PLAYWRIGHT_DISABLE_SETUID_SANDBOX',121 GERAPY_PLAYWRIGHT_DISABLE_SETUID_SANDBOX)122 cls.disable_gpu = settings.get(123 'GERAPY_PLAYWRIGHT_DISABLE_GPU', GERAPY_PLAYWRIGHT_DISABLE_GPU)124 cls.download_timeout = settings.get('GERAPY_PLAYWRIGHT_DOWNLOAD_TIMEOUT',125 settings.get('DOWNLOAD_TIMEOUT', GERAPY_PLAYWRIGHT_DOWNLOAD_TIMEOUT))126 # cls.ignore_resource_types = settings.get('GERAPY_PLAYWRIGHT_IGNORE_RESOURCE_TYPES',127 # GERAPY_PLAYWRIGHT_IGNORE_RESOURCE_TYPES)128 cls.screenshot = settings.get(129 'GERAPY_PLAYWRIGHT_SCREENSHOT', GERAPY_PLAYWRIGHT_SCREENSHOT)130 cls.pretend = settings.get(131 'GERAPY_PLAYWRIGHT_PRETEND', GERAPY_PLAYWRIGHT_PRETEND)132 cls.sleep = settings.get(133 'GERAPY_PLAYWRIGHT_SLEEP', GERAPY_PLAYWRIGHT_SLEEP)134 # cls.enable_request_interception = settings.getbool('GERAPY_ENABLE_REQUEST_INTERCEPTION',135 # GERAPY_ENABLE_REQUEST_INTERCEPTION)136 cls.retry_enabled = settings.getbool('RETRY_ENABLED')137 cls.max_retry_times = settings.getint('RETRY_TIMES')138 cls.retry_http_codes = set(int(x)139 for x in settings.getlist('RETRY_HTTP_CODES'))140 cls.priority_adjust = settings.getint('RETRY_PRIORITY_ADJUST')141 cls.proxy = settings.get('GERAPY_PLAYWRIGHT_PROXY')142 cls.proxy_credential = settings.get(143 'GERAPY_PLAYWRIGHT_PROXY_CREDENTIAL')144 return cls()145 async def _process_request(self, request, spider):146 """147 use playwright to process spider148 :param request:149 :param spider:150 :return:151 """152 # get playwright meta153 playwright_meta = request.meta.get('playwright') or {}154 logger.debug('playwright_meta %s', playwright_meta)155 if not isinstance(playwright_meta, dict) or len(playwright_meta.keys()) == 0:156 return157 options = {158 'headless': self.headless,159 'args': [],160 }161 if self.executable_path is not None:162 options['executablePath'] = self.executable_path163 if self.slow_mo is not None:164 options['slowMo'] = self.slow_mo165 if self.devtools is not None:166 options['devtools'] = self.devtools167 if self.channel is not None:168 options['channel'] = self.channel169 # if self.ignore_default_args is not None:170 # options['ignoreDefaultArgs'] = self.ignore_default_args171 # if self.handle_sigint:172 # options['handleSIGINT'] = self.handle_sigint173 # if self.handle_sigterm:174 # options['handleSIGTERM'] = self.handle_sigterm175 # if self.handle_sighup:176 # options['handleSIGHUP'] = self.handle_sighup177 if self.disable_extensions is not None:178 options['args'].append('--disable-extensions')179 if self.hide_scrollbars is not None:180 options['args'].append('--hide-scrollbars')181 if self.mute_audio is not None:182 options['args'].append('--mute-audio')183 if self.no_sandbox is not None:184 options['args'].append('--no-sandbox')185 if self.disable_setuid_sandbox is not None:186 options['args'].append('--disable-setuid-sandbox')187 if self.disable_gpu is not None:188 options['args'].append('--disable-gpu')189 # pretend as normal browser190 _pretend = self.pretend # get global pretend setting191 if playwright_meta.get('pretend') is not None:192 # get local pretend setting to overwrite global193 _pretend = playwright_meta.get('pretend')194 # set proxy and proxy credential195 _proxy = self.proxy196 if playwright_meta.get('proxy') is not None:197 _proxy = playwright_meta.get('proxy')198 if _proxy:199 options['proxy'] = {200 'server': _proxy201 }202 _proxy_credential = self.proxy_credential203 if playwright_meta.get('proxy_credential') is not None:204 _proxy_credential = playwright_meta.get('proxy_credential')205 if _proxy_credential and _proxy:206 options['proxy'].update(_proxy_credential)207 logger.debug('set options %s', options)208 # set default user_agent209 _user_agent = self.default_user_agent210 # get Scrapy request ua, exclude default('Scrapy/2.5.0 (+https://scrapy.org)')211 if 'Scrapy' not in request.headers.get('User-Agent').decode():212 _user_agent = request.headers.get(213 'User-Agent').decode()214 async with async_playwright() as playwright:215 browser = await playwright.chromium.launch(**options)216 context = await browser.new_context(217 viewport={'width': self.window_width,218 'height': self.window_height},219 user_agent=_user_agent220 )221 # set cookies222 parse_result = urllib.parse.urlsplit(request.url)223 domain = parse_result.hostname224 _cookies = []225 if isinstance(request.cookies, dict):226 _cookies = [{'name': k, 'value': v, 'domain': domain, 'path': '/'}227 for k, v in request.cookies.items()]228 else:...
utils.py
Source:utils.py
...85 target: Optional[str] = None,86 operation: Optional[Callable[[Page], Awaitable[None]]] = None,87 ) -> Optional[bytes]:88 async with self.lock:89 async with async_playwright() as playwright:90 self.browser = await self.get_browser(playwright)91 self._inter_log("open browser")92 if viewport:93 constext = await self.browser.new_context(94 viewport={95 "width": viewport["width"],96 "height": viewport["height"],97 },98 device_scale_factor=viewport.get("deviceScaleFactor", 1),99 )100 page = await constext.new_page()101 else:102 page = await self.browser.new_page()103 if operation:...
request.py
Source:request.py
1from scrapy import Request2import copy3class PlaywrightRequest(Request):4 """5 Scrapy ``Request`` subclass providing additional arguments6 """7 def __init__(self, url, callback=None, wait_until=None, wait_for=None, script=None, actions=None, proxy=None,8 proxy_credential=None, sleep=None, timeout=None, ignore_resource_types=None, pretend=None, screenshot=None, meta=None,9 *args, **kwargs):10 """11 :param url: request url12 :param callback: callback13 :param wait_until: one of "load", "domcontentloaded", "networkidle".14 see https://playwright.dev/python/docs/api/class-page#page-wait-for-load-state, default is `domcontentloaded`15 :param wait_for: wait for some element to load, also supports dict16 :param script: script to execute17 :param actions: actions defined for execution of Page object18 :param proxy: use proxy for this time, like `http://x.x.x.x:x`19 :param proxy_credential: the proxy credential, like `{'username': 'xxxx', 'password': 'xxxx'}`20 :param sleep: time to sleep after loaded, override `GERAPY_PLAYWRIGHT_SLEEP`21 :param timeout: load timeout, override `GERAPY_PLAYWRIGHT_DOWNLOAD_TIMEOUT`22 :param ignore_resource_types: ignored resource types, override `GERAPY_PLAYWRIGHT_IGNORE_RESOURCE_TYPES`23 :param pretend: pretend as normal browser, override `GERAPY_PLAYWRIGHT_PRETEND`24 :param screenshot: ignored resource types, see25 https://playwright.dev/python/docs/api/class-page#page-screenshot,26 override `GERAPY_PLAYWRIGHT_SCREENSHOT`27 :param args:28 :param kwargs:29 """30 # use meta info to save args31 meta = copy.deepcopy(meta) or {}32 playwright_meta = meta.get('playwright') or {}33 self.wait_until = playwright_meta.get('wait_until') if playwright_meta.get(34 'wait_until') is not None else (wait_until or 'domcontentloaded')35 self.wait_for = playwright_meta.get('wait_for') if playwright_meta.get(36 'wait_for') is not None else wait_for37 self.script = playwright_meta.get('script') if playwright_meta.get(38 'script') is not None else script39 self.actions = playwright_meta.get('actions') if playwright_meta.get(40 'actions') is not None else actions41 self.sleep = playwright_meta.get('sleep') if playwright_meta.get(42 'sleep') is not None else sleep43 self.proxy = playwright_meta.get('proxy') if playwright_meta.get(44 'proxy') is not None else proxy45 self.proxy_credential = playwright_meta.get('proxy_credential') if playwright_meta.get(46 'proxy_credential') is not None else proxy_credential47 self.pretend = playwright_meta.get('pretend') if playwright_meta.get(48 'pretend') is not None else pretend49 self.timeout = playwright_meta.get('timeout') if playwright_meta.get(50 'timeout') is not None else timeout51 # self.ignore_resource_types = playwright_meta.get('ignore_resource_types') if playwright_meta.get(52 # 'ignore_resource_types') is not None else ignore_resource_types53 self.screenshot = playwright_meta.get('screenshot') if playwright_meta.get(54 'screenshot') is not None else screenshot55 playwright_meta = meta.setdefault('playwright', {})56 playwright_meta['wait_until'] = self.wait_until57 playwright_meta['wait_for'] = self.wait_for58 playwright_meta['script'] = self.script59 playwright_meta['actions'] = self.actions60 playwright_meta['sleep'] = self.sleep61 playwright_meta['proxy'] = self.proxy62 playwright_meta['proxy_credential'] = self.proxy_credential63 playwright_meta['pretend'] = self.pretend64 playwright_meta['timeout'] = self.timeout65 playwright_meta['screenshot'] = self.screenshot66 # playwright_meta['ignore_resource_types'] = self.ignore_resource_types...
sync_playwright_remote.py
Source:sync_playwright_remote.py
1import asyncio2import importlib.metadata3from typing import Any4from greenlet import greenlet5from playwright._impl._api_types import Error6from playwright._impl._connection import Connection7from playwright._impl._object_factory import create_remote_object8from playwright._impl._playwright import Playwright9from playwright._impl._transport import WebSocketTransport10from playwright.sync_api._generated import Playwright as SyncPlaywright11class SyncPlaywrightRemoteContextManager:12 def __init__(self, ws_endpoint: str) -> None:13 self._playwright: SyncPlaywright14 self._ws_endpoint = ws_endpoint15 def _make_connection(self, dispatcher_fiber, object_factory, transport, loop) -> Connection:16 if importlib.metadata.version('playwright') < '1.15.0':17 return Connection(18 dispatcher_fiber,19 create_remote_object,20 transport)21 else:22 return Connection(23 dispatcher_fiber,24 create_remote_object,25 transport,26 loop)27 def __enter__(self) -> SyncPlaywright:28 loop: asyncio.AbstractEventLoop29 own_loop = None30 try:31 loop = asyncio.get_running_loop()32 except RuntimeError:33 loop = asyncio.new_event_loop()34 own_loop = loop35 if loop.is_running():36 raise Error(37 """It looks like you are using Playwright Sync API inside the asyncio loop.38Please use the Async API instead."""39 )40 def greenlet_main() -> None:41 loop.run_until_complete(self._connection.run_as_sync())42 if own_loop:43 loop.run_until_complete(loop.shutdown_asyncgens())44 loop.close()45 dispatcher_fiber = greenlet(greenlet_main)46 self._connection = self._make_connection(47 dispatcher_fiber,48 create_remote_object,49 WebSocketTransport(loop, self._ws_endpoint),50 loop)51 g_self = greenlet.getcurrent()52 def callback_wrapper(playwright_impl: Playwright) -> None:53 self._playwright = SyncPlaywright(playwright_impl)54 g_self.switch()55 self._connection.call_on_object_with_known_name(56 "Playwright", callback_wrapper)57 dispatcher_fiber.switch()58 playwright = self._playwright59 playwright.stop = self.__exit__ # type: ignore60 return playwright61 def start(self) -> SyncPlaywright:62 return self.__enter__()63 def __exit__(self, *args: Any) -> None:64 self._connection.stop_sync()65def sync_playwright_remote(ws_endpoint: str) -> SyncPlaywrightRemoteContextManager:...
playwright_remote_context_manager.py
Source:playwright_remote_context_manager.py
1import asyncio2from typing import Any3from greenlet import greenlet4from playwright._impl._api_types import Error5from playwright._impl._connection import Connection6from playwright._impl._object_factory import create_remote_object7from playwright._impl._playwright import Playwright8from playwright._impl._transport import WebSocketTransport9from playwright.sync_api._generated import Playwright as SyncPlaywright10class SyncPlaywrightRemoteContextManager:11 def __init__(self, ws_endpoint) -> None:12 self._playwright: SyncPlaywright13 self._ws_endpoint = ws_endpoint14 def __enter__(self) -> SyncPlaywright:15 loop: asyncio.AbstractEventLoop16 own_loop = None17 try:18 loop = asyncio.get_running_loop()19 except RuntimeError:20 loop = asyncio.new_event_loop()21 own_loop = loop22 if loop.is_running():23 raise Error(24 """It looks like you are using Playwright Sync API inside the asyncio loop.25Please use the Async API instead."""26 )27 def greenlet_main() -> None:28 loop.run_until_complete(self._connection.run_as_sync())29 if own_loop:30 loop.run_until_complete(loop.shutdown_asyncgens())31 loop.close()32 dispatcher_fiber = greenlet(greenlet_main)33 self._connection = Connection(34 dispatcher_fiber,35 create_remote_object,36 WebSocketTransport(loop, self._ws_endpoint)37 )38 g_self = greenlet.getcurrent()39 def callback_wrapper(playwright_impl: Playwright) -> None:40 self._playwright = SyncPlaywright(playwright_impl)41 g_self.switch()42 self._connection.call_on_object_with_known_name(43 "Playwright", callback_wrapper)44 dispatcher_fiber.switch()45 playwright = self._playwright46 playwright.stop = self.__exit__ # type: ignore47 return playwright48 def start(self) -> SyncPlaywright:49 return self.__enter__()50 def __exit__(self, *args: Any) -> None:51 self._connection.stop_sync()52def sync_playwright_remote(ws_endpoint) -> SyncPlaywrightRemoteContextManager:...
remote_context_manager.py
Source:remote_context_manager.py
1import asyncio2from greenlet import greenlet3from playwright._impl._api_types import Error4from playwright._impl._connection import Connection5from playwright._impl._object_factory import create_remote_object6from playwright._impl._playwright import Playwright7from playwright.sync_api._generated import Playwright as SyncPlaywright8from playwright._impl._transport import WebSocketTransport9from playwright.sync_api._context_manager import PlaywrightContextManager10class PlaywrightRemoteContextManager(PlaywrightContextManager):11 def __enter__(self) -> SyncPlaywright:12 loop: asyncio.AbstractEventLoop13 own_loop = None14 try:15 loop = asyncio.get_running_loop()16 except RuntimeError:17 loop = asyncio.new_event_loop()18 own_loop = loop19 if loop.is_running():20 raise Error(21 """It looks like you are using Playwright Sync API inside the asyncio loop.22Please use the Async API instead."""23 )24 def greenlet_main() -> None:25 loop.run_until_complete(self._connection.run_as_sync())26 if own_loop:27 loop.run_until_complete(loop.shutdown_asyncgens())28 loop.close()29 dispatcher_fiber = greenlet(greenlet_main)30 self._connection = Connection(31 dispatcher_fiber,32 create_remote_object,33 WebSocketTransport(loop, self.ws_endpoint),34 loop,35 )36 g_self = greenlet.getcurrent()37 def callback_wrapper(playwright_impl: Playwright) -> None:38 self._playwright = SyncPlaywright(playwright_impl)39 g_self.switch()40 self._connection.call_on_object_with_known_name("Playwright", callback_wrapper)41 dispatcher_fiber.switch()42 playwright = self._playwright43 playwright.stop = self.__exit__ # type: ignore44 return playwright45def sync_playwright_remote(ws_endpoint) -> PlaywrightRemoteContextManager:46 m = PlaywrightRemoteContextManager()47 m.ws_endpoint = ws_endpoint...
settings.py
Source:settings.py
1import logging2# playwright logging level3GERAPY_PLAYWRIGHT_LOGGING_LEVEL = logging.WARNING4# playwright timeout5GERAPY_PLAYWRIGHT_DOWNLOAD_TIMEOUT = 306# playwright browser window7GERAPY_PLAYWRIGHT_WINDOW_WIDTH = 14008GERAPY_PLAYWRIGHT_WINDOW_HEIGHT = 7009# playwright browser default ua10GERAPY_PLAYWRIGHT_DEFAULT_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36'11# playwright settings12GERAPY_PLAYWRIGHT_HEADLESS = True13GERAPY_PLAYWRIGHT_CHANNEL = None14GERAPY_PLAYWRIGHT_EXECUTABLE_PATH = None15GERAPY_PLAYWRIGHT_SLOW_MO = None16# GERAPY_PLAYWRIGHT_IGNORE_DEFAULT_ARGS = False17# GERAPY_PLAYWRIGHT_HANDLE_SIGINT = True18# GERAPY_PLAYWRIGHT_HANDLE_SIGTERM = True19# GERAPY_PLAYWRIGHT_HANDLE_SIGHUP = True20GERAPY_PLAYWRIGHT_DEVTOOLS = False21GERAPY_PLAYWRIGHT_PRETEND = True22# playwright args23GERAPY_PLAYWRIGHT_DISABLE_EXTENSIONS = True24GERAPY_PLAYWRIGHT_HIDE_SCROLLBARS = True25GERAPY_PLAYWRIGHT_MUTE_AUDIO = True26GERAPY_PLAYWRIGHT_NO_SANDBOX = True27GERAPY_PLAYWRIGHT_DISABLE_SETUID_SANDBOX = True28GERAPY_PLAYWRIGHT_DISABLE_GPU = True29# ignore resource types, ResourceType will be one of the following: ``document``,30# ``stylesheet``, ``image``, ``media``, ``font``, ``script``,31# ``texttrack``, ``xhr``, ``fetch``, ``eventsource``, ``websocket``,32# ``manifest``, ``other``.33GERAPY_PLAYWRIGHT_IGNORE_RESOURCE_TYPES = []34GERAPY_PLAYWRIGHT_SCREENSHOT = None35GERAPY_PLAYWRIGHT_SLEEP = 036GERAPY_ENABLE_REQUEST_INTERCEPTION = False...
conftest.py
Source:conftest.py
1from pytest import fixture2from playwright.sync_api import sync_playwright3from login.login_page import LoginPage4@fixture()5def get_playwright():6 with sync_playwright() as playwright:7 yield playwright8@fixture()9def login_page(get_playwright):10 page = LoginPage(get_playwright)11 yield page...
Using AI Code Generation
1import { Synpress } from 'synpress';2describe('Synpress', () => {3 const synpress = new Synpress();4 beforeAll(async () => {5 await synpress.init();6 });7 afterAll(async () => {8 await synpress.close();9 });10 it('should work', async () => {11 await synpress.click('input[title="Search"]');12 await synpress.type('input[title="Search"]', 'Synthetix');13 await synpress.press('Enter');14 await synpress.waitForNavigation();15 await synpress.click('h3');16 await synpress.waitForNavigation();17 await synpress.waitForNavigation();18 await synpress.waitForNavigation();19 await synpress.waitForNavigation();20 await synpress.waitForNavigation();21 });22});23import { Synpress } from 'synpress';24describe('Synpress', () => {25 const synpress = new Synpress();26 beforeAll(async () => {27 await synpress.init();28 });29 afterAll(async () => {30 await synpress.close();31 });32 it('should work', async () => {33 await synpress.click('input[title="Search"]');34 await synpress.type('input[title="Search"]', 'Synthetix');35 await synpress.press('Enter');36 await synpress.waitForNavigation();37 await synpress.click('h3');38 await synpress.waitForNavigation();39 await synpress.waitForNavigation();40 await synpress.waitForNavigation();41 await synpress.waitForNavigation();
Using AI Code Generation
1import { synthetixJs } from 'synpress';2const { click, doubleClick, hover, screenshot, type, press } = synthetixJs;3describe('Synpress', () => {4 test('should load the page', async () => {5 await screenshot('google');6 });7});8import { synthetixJs } from 'synpress';9const { click, doubleClick, hover, screenshot, type, press } = synthetixJs;10describe('Synpress', () => {11 test('should load the page', async () => {12 await screenshot('google');13 });14});15import { synthetixJs } from 'synpress';16const { click, doubleClick, hover, screenshot, type, press } = synthetixJs;17describe('Synpress', () => {18 test('should load the page', async () => {19 await screenshot('google');20 });21});22import { synthetixJs } from 'synpress';23const { click, doubleClick, hover, screenshot, type, press } = synthetixJs;24describe('Synpress', () => {25 test('should load the page', async () => {26 await screenshot('google');27 });28});29import { synthetixJs } from 'synpress';30const { click, doubleClick, hover, screenshot, type, press } = synthetixJs;31describe('Synpress', () => {32 test('should load the page', async () => {33 await screenshot('google');34 });35});36import { synthetixJs } from 'synpress';37const { click, doubleClick, hover, screenshot,
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!