This extension will help determine unique Selenium WebElement that can be used with PageFactory to initialize elements on the page.
Eye Web Element V3.0 Extension
Tired of typing JSON files for the automation of your webpages?
Installed an element locator extension in your browser to inspect elements?
Cool, no doubt about it, but how about an extension which can generate JSON files for all the inspected elements of your webpage?
Well, this extension resolves this hassle.
Guide to use:
•\tAdd Element Inspector extension to your browser.
•\tTurn the extension on (eye icon will be shown).
•\tHover mouse on the element.
•\tPress:
1.\t‘X’ for XPath.
2.\t‘C’ for Class Name.
3.\t‘S’ for CSS Selector.
4.\t‘N’ for Name.
5.\t‘I’ for ID.
6.\t‘F’ for Full XPath.
•\tEnter the Key in the prompt to save the JSON object against that key and click OK.
TADA!
Maintain your JSON in the same fashion and have fun!
Setup Guide for Element Inspector:
Chrome (In case of locally deployed websites):
•\tCreate a copy of Google chrome.
• Append --disable-web-security --user-data-dir=~/chromeTemp after the target’s address: for example: \"C:\\Users\\JohnDoe\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe\" --disable-web-security --user-data-dir=~/chromeTemp
•\tOpen google chrome and add this extension.
•\tRoute to chrome://flags/#block-insecure-private-network-requests
•\tDisable Block insecure private network requests.
Server:
•\tDownload and install Node.js
•\tDownload the repository and unzip it to some location, i.e. Desktop.
•\tOpen index.js file in the Visual Studio code.
•\tOpen the terminal of Visual Studio code.
•\tRun the command npm i
•\tRun command as, node .\\index.js
Switch the extension on, hover mouse to some element on webpage and press Keys (i.e. x, s, n etc.).
JSON File should be created as Sample.json in the folder of nodetest.
Link for Node Server repository:
https://github.com/JawadRehmanCS/NodeServer
Source Manifest.json
Similar Extensions
@FindBy 59 11 ★ 109KiB
OR Manager 59 1 ★ 4.78MiB
FormyMcFormstein OR Hidden Field Enabler 59 1 ★ 34.67KiB
No-Inspect Web Editor - text & Images 59 0 ★ 9.76KiB
Element Selectors 59 3 ★ 318KiB
HTML Tag Elements Attribute CSV Exporter 59 4 ★ 38.51KiB
Selenideium Element Inspector 59 4 ★ 34.96KiB
rawkit 59 0 ★ 88.13KiB
Pause & Inspect 59 2 ★ 14.65KiB
Automize - Testing/Scraping Tool 59 7 ★ 3.36MiB
Quick Inspect Element 59 9 ★ 360KiB
Find My Locator 59 40 ★ 199KiB
Link Roamer 59 2 ★ 351KiB
WebDriver Element Locator 59 2 ★ 21.57KiB
Inspecta - validate design implementation 59 3 ★ 420KiB
Developer URL bar 59 2 ★ 41.03KiB
DOM to JSON Converter 59 1 ★ 18.23KiB
Code Minifier (JS, CSS, HTML) 59 0 ★ 575KiB
Generate Links for Headers 59 11 ★ 36.99KiB
POM Builder – Auto-generate CSS/XPath Locator 59 28 ★ 1.98MiB
Link to Element 59 0 ★ 28.25KiB
Display Access Keys 59 3 ★ 6.56KiB
Inspect Flow 59 5 ★ 900KiB
JSON RPC Chrome Viewer 59 14 ★ 122KiB