{"_id":"@alexkamaev/testcafe-browser-tools","_rev":"5-3f5c15105092d19b9f8f95dec0becbe5","name":"@alexkamaev/testcafe-browser-tools","dist-tags":{"latest":"2.0.8"},"versions":{"1.5.0":{"name":"@alexkamaev/testcafe-browser-tools","version":"1.5.0","description":"An utility library for performing platform-dependent actions on browsers.","homepage":"https://github.com/DevExpress/testcafe-browser-tools","bugs":{"url":"https://github.com/DevExpress/testcafe-browser-tools/issues"},"license":"MIT","author":{"name":"Developer Express Inc."},"repository":{"type":"git","url":"git+https://github.com/DevExpress/testcafe-browser-tools.git"},"engines":{"node":">= 0.10"},"dependencies":{"array-find":"^1.0.0","babel-runtime":"^5.6.15","graceful-fs":"^4.1.11","linux-platform-info":"^0.0.3","mkdirp":"^0.5.1","mustache":"^2.1.2","os-family":"^1.0.0","pify":"^2.3.0","pinkie":"^2.0.1","read-file-relative":"^1.2.0","which-promise":"^1.0.0"},"devDependencies":{"babel-eslint":"^4.0.10","body-parser":"^1.13.2","chai":"^3.2.0","del":"^2.2.1","dmd-plugin-async":"^0.1.1","eslint":"^1.6.0","eslint-plugin-babel":"^2.1.1","express":"^3.21.1","gulp":"^3.9.0","gulp-babel":"^5.1.0","gulp-changed":"^1.3.0","gulp-chmod":"^1.3.0","gulp-concat":"^2.6.0","gulp-eslint":"^1.0.0","gulp-flatten":"^0.1.0","gulp-jsdoc-to-markdown":"^1.1.1","gulp-mocha":"^2.1.3","gulp-msbuild":"^0.5.2","gulp-remote-src":"^0.4.1","hogan-express":"^0.5.2","lodash":"^4.14.0","through2":"^2.0.0","viewportsizes":"^0.1.2"},"scripts":{"test":"gulp test","postinstall":"node ./bin/fix-permissions.js"},"main":"./lib/index","files":["lib","bin","data"],"_id":"@alexkamaev/testcafe-browser-tools@1.5.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"alexkamaev","email":"alexikam@gmail.com"},"dist":{"integrity":"sha512-SMm0d/C0/3Z/3z/J9iyYuOBjeHk6Mz7GapAAYFg0SsSfeo/4jEGJ/S8bVTfRF6ifczJ1lfFPdDRHDj22qEUzxg==","shasum":"28bf3f42fda458b34d17b5e6d6c2c4e5ba5f34f8","tarball":"https://registry.npmjs.org/@alexkamaev/testcafe-browser-tools/-/testcafe-browser-tools-1.5.0.tgz","fileCount":55,"unpackedSize":1588646,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC795zaDE8eCCzg4vCk53jtU7tgllb3WjJQ9FwNmvED+AIhAIB+mjfH1KYM+wYWg17Ajs/Z5SXhDrlBJ0AN9uDXDvmy"}]},"maintainers":[{"name":"alexkamaev","email":"alexikam@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/testcafe-browser-tools_1.5.0_1518433501140_0.5197592073863309"},"_hasShrinkwrap":false},"1.5.1":{"name":"@alexkamaev/testcafe-browser-tools","version":"1.5.1","description":"An utility library for performing platform-dependent actions on browsers.","homepage":"https://github.com/DevExpress/testcafe-browser-tools","bugs":{"url":"https://github.com/DevExpress/testcafe-browser-tools/issues"},"license":"MIT","author":{"name":"Developer Express Inc."},"repository":{"type":"git","url":"git+https://github.com/DevExpress/testcafe-browser-tools.git"},"engines":{"node":">= 0.10"},"dependencies":{"array-find":"^1.0.0","babel-runtime":"^5.6.15","graceful-fs":"^4.1.11","linux-platform-info":"^0.0.3","mkdirp":"^0.5.1","mustache":"^2.1.2","os-family":"^1.0.0","pify":"^2.3.0","pinkie":"^2.0.1","read-file-relative":"^1.2.0","which-promise":"^1.0.0"},"devDependencies":{"babel-eslint":"^4.0.10","body-parser":"^1.13.2","chai":"^3.2.0","del":"^2.2.1","dmd-plugin-async":"^0.1.1","eslint":"^1.6.0","eslint-plugin-babel":"^2.1.1","express":"^3.21.1","gulp":"^3.9.0","gulp-babel":"^5.1.0","gulp-changed":"^1.3.0","gulp-chmod":"^1.3.0","gulp-concat":"^2.6.0","gulp-eslint":"^1.0.0","gulp-flatten":"^0.1.0","gulp-jsdoc-to-markdown":"^1.1.1","gulp-mocha":"^2.1.3","gulp-msbuild":"^0.5.2","gulp-remote-src":"^0.4.1","hogan-express":"^0.5.2","lodash":"^4.14.0","through2":"^2.0.0","viewportsizes":"^0.1.2"},"scripts":{"test":"gulp test"},"main":"./lib/index","files":["lib","bin","data"],"_id":"@alexkamaev/testcafe-browser-tools@1.5.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"alexkamaev","email":"alexikam@gmail.com"},"dist":{"integrity":"sha512-iSErHC0ZRg9ETrNbTOIWVWESqUPjcynZXifavuRPPtrISgCgQRyUxm5XbioJp3hc1bgw/eVAnnqPaueLaMlaMg==","shasum":"ad11c354799b8067626efb3ce33501ea96aa05fe","tarball":"https://registry.npmjs.org/@alexkamaev/testcafe-browser-tools/-/testcafe-browser-tools-1.5.1.tgz","fileCount":55,"unpackedSize":1588594,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC66hIoPsCEDX48q7yQ+wLFJujDsKDP34GSzmKJq77t0QIgaPvlyvjMR49496F+I8vMbEvCGMwGrsTA/njhbNFKiIY="}]},"maintainers":[{"name":"alexkamaev","email":"alexikam@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/testcafe-browser-tools_1.5.1_1518434158852_0.987095039005669"},"_hasShrinkwrap":false},"2.0.7":{"name":"@alexkamaev/testcafe-browser-tools","version":"2.0.7","description":"An utility library for performing platform-dependent actions on browsers.","license":"MIT","author":{"name":"Developer Express Inc."},"repository":{"type":"git","url":"git+https://github.com/DevExpress/testcafe-browser-tools.git"},"engines":{"node":">= 0.10"},"dependencies":{"array-find":"^1.0.0","babel-runtime":"^5.6.15","dedent":"^0.7.0","del":"^5.1.0","graceful-fs":"^4.1.11","execa":"^3.3.0","linux-platform-info":"^0.0.3","lodash":"^4.17.15","mkdirp":"^0.5.1","mustache":"^2.1.2","nanoid":"^2.1.3","os-family":"^1.0.0","pify":"^2.3.0","pinkie":"^2.0.1","read-file-relative":"^1.2.0","which-promise":"^1.0.0"},"devDependencies":{"babel-eslint":"^4.0.10","body-parser":"^1.13.2","chai":"^3.2.0","dmd-plugin-async":"^0.1.1","eslint":"4.18.2","eslint-plugin-babel":"^2.1.1","express":"^3.21.1","gulp":"^4.0.2","gulp-chmod":"^1.3.0","gulp-eslint":"^1.0.0","gulp-flatten":"^0.1.0","gulp-mocha":"^2.1.3","gulp-msbuild":"^0.5.2","hogan-express":"^0.5.2","jsdoc-to-markdown":"^5.0.2","tar-stream":"^1.5.5","through2":"^2.0.0","tmp":"0.0.33","typescript":"^3.6.4"},"scripts":{"test":"gulp test"},"main":"./lib/index","gitHead":"9f8e506c238bc6b46cfc42440ab11e378202af78","bugs":{"url":"https://github.com/DevExpress/testcafe-browser-tools/issues"},"homepage":"https://github.com/DevExpress/testcafe-browser-tools#readme","_id":"@alexkamaev/testcafe-browser-tools@2.0.7","_nodeVersion":"8.11.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-CRpTTt/O7gKLb7mnn+Gjp/7u5BPkksP0zQwUF/oxrp2OHfsvvR8nIEmgGNk9Dtx0LWD20mbN5LcjFwJSNAZgCQ==","shasum":"7344d29d445f9a8f1dd01d150b6a534bdf6f4dbe","tarball":"https://registry.npmjs.org/@alexkamaev/testcafe-browser-tools/-/testcafe-browser-tools-2.0.7.tgz","fileCount":83,"unpackedSize":1781001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeAgzFCRA9TVsSAnZWagAAVYMP/085mSEjIXzd+P6MmEyR\ndVpARClWqF9dmDNWwyV4W7GVtLbkbg8ye48J7YKRHK/jKqSAGzueYJfnChJ/\nk5D/bJVLk4ZNOlaiaPIY/Ce4G3E6fujxxOLDV6VEoXUKgg2OUEy3L5+hS7pR\n1aW4kh6w2CV1EK6jv4AJSqK0ZDfV6v0OPCInkxtERWG21g1ljOgUbW/uacc4\nzzFZ+TJIgt3Qp4nDS5MbVBWtIco6qfAgJeOrIOtCmAkRsdNJLBd1nZQxON1g\nUu6aingQT57ju7xDYez4lZpvjFCkuddnY0kJuzq3Z08YbtXtW3WQDYjYoEXN\nGBioMjGslJEI+nmlTMLokYkON4a1plgT5dIqWTLI/Hyq1DWVGxjiuvwtVvc2\n9tZ/Y3lon5scH00jjOQZN0URb0mjkKeHEF6QhJI57PyZ6wPoNpkiJfkiqtxe\n8CXx/k+CNC9jZWpz7Uk2vd4LF5FkdzrYykUA0m5G3HKnAazvePb/goTCUzOR\nAiho6b0KYwogrrfqaLPEtlRtoxElpsbTQzwzIbF5XXVTLCHhO4Elu5TfqihZ\nMLljwJ7zWZj2Yl0RbU890uH3gZseL/xtPJ5MxnHajiyYLXKwTJxpw7LU69Kt\n5WQ5f7dyqfrSooSVEbiasiLE+fLEVySuIwiesN/uPRF9QhfOQJ/DsioVM1HW\nl4eb\r\n=x1S9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDE2gyY+I6C7HIyJRvORR7J9RIIwDT2yBMewNe2BnTVKAiEAzZXFux5wZ+TyVnmsqCMtUK8D78POu/9QvPUVfg3TZ2A="}]},"maintainers":[{"name":"alexkamaev","email":"alexikam@gmail.com"}],"_npmUser":{"name":"alexkamaev","email":"alexikam@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/testcafe-browser-tools_2.0.7_1577192644627_0.31470783563346805"},"_hasShrinkwrap":false},"2.0.8":{"name":"@alexkamaev/testcafe-browser-tools","version":"2.0.8","description":"An utility library for performing platform-dependent actions on browsers.","license":"MIT","author":{"name":"Developer Express Inc."},"repository":{"type":"git","url":"git+https://github.com/DevExpress/testcafe-browser-tools.git"},"engines":{"node":">= 0.10"},"dependencies":{"array-find":"^1.0.0","babel-runtime":"^5.6.15","dedent":"^0.7.0","del":"^5.1.0","graceful-fs":"^4.1.11","execa":"^3.3.0","linux-platform-info":"^0.0.3","lodash":"^4.17.15","mkdirp":"^0.5.1","mustache":"^2.1.2","nanoid":"^2.1.3","os-family":"^1.0.0","pify":"^2.3.0","pinkie":"^2.0.1","read-file-relative":"^1.2.0","which-promise":"^1.0.0"},"devDependencies":{"babel-eslint":"^4.0.10","body-parser":"^1.13.2","chai":"^3.2.0","dmd-plugin-async":"^0.1.1","eslint":"4.18.2","eslint-plugin-babel":"^2.1.1","express":"^3.21.1","gulp":"^4.0.2","gulp-chmod":"^1.3.0","gulp-eslint":"^1.0.0","gulp-flatten":"^0.1.0","gulp-mocha":"^2.1.3","gulp-msbuild":"^0.5.2","hogan-express":"^0.5.2","jsdoc-to-markdown":"^5.0.2","tar-stream":"^1.5.5","through2":"^2.0.0","tmp":"0.0.33","typescript":"^3.6.4"},"scripts":{"test":"gulp test"},"main":"./lib/index","gitHead":"eb38bd0931917c8b64f5d3b2887b9e2bc52e4113","bugs":{"url":"https://github.com/DevExpress/testcafe-browser-tools/issues"},"homepage":"https://github.com/DevExpress/testcafe-browser-tools#readme","_id":"@alexkamaev/testcafe-browser-tools@2.0.8","_nodeVersion":"8.11.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-tll8m0wKDJdTdR9YiZFV9Vz2SpeXib/xVPQE0MWMCsn7F3DBdvcJlPo9NtTZjoqhpNRyQvaJ3JPSY99LCzTTVw==","shasum":"b4b024dbb66ee989a4af63857aaa4920b453a01f","tarball":"https://registry.npmjs.org/@alexkamaev/testcafe-browser-tools/-/testcafe-browser-tools-2.0.8.tgz","fileCount":83,"unpackedSize":1781051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeAxziCRA9TVsSAnZWagAAtqwP+wVLgf6gBTpA7efmzFjQ\nhWu0uw6KkdQbEiGue9Z7CuLRs9YndeKksy3Xhw1TFQ/wEx8P6dQTgC9h++R0\nnAhXByxb4Vdd0S+JpK5XUGxC9SUibG9VWIkdbORniKiXK700C6Cs69Kw2pgq\nsOXxOohpL9j7NqlM7WCyo/fbVws8dnlUSMTFPGFGVipnFkTj+z3ZycOWBR9F\ns5dUtkUCtMm6zAp7m1X/36F7B2VFD/D5pG9eC7/NngIs4Lv3w9QotvXzt6JN\nO4g+hBRG9oXKbf9fQjT3P257Bv+6gWUKQ9B1sUOxq84FHB54gorlrde3+aJG\nFt5UXsBbDXntQ5AuwmUFI/J3IecYrlzWlUjdCyHfT+/kuN7CoeK4hYafLHiT\nRc9tBd/nbdll2A8J3cRlPk9hvwrVizaL6JnqqhTWdPgSCxF/NlPjK4uosBH0\niq4oo7e3K5WJp3ATFBMn1P5skTrjh5Q7CqTMBzj6W+3Am0FQ2wm2dvk8P0yH\nz+1Ed9vwrrgwKLcOj4hA+d1OGtV2gsmB3vbELdhI3zATe4Rh3mSo7MWCOLMS\nGIBFW0AawgdZoF3ks5JFq3V1ytNvZMysbKpDfzoI0Trv9SC2f+YoMsDoBUir\nTTgPw0KNABFcCI78kJ8qd7vWlwwbcdql7AV3MiREzlhXQN3cj8QTLCL263ju\ngCPA\r\n=/HXt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH6bIFSTNAa6Q23ZmrP76DOeWy6a6nft41sLCvCyw5LMAiA+NP/hV2laQ0vFMq4iG2cXmuaVe/3BoJRN0psKyuV/Aw=="}]},"maintainers":[{"name":"alexkamaev","email":"alexikam@gmail.com"}],"_npmUser":{"name":"alexkamaev","email":"alexikam@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/testcafe-browser-tools_2.0.8_1577262305934_0.12912103658320073"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-12T11:05:00.734Z","1.5.0":"2018-02-12T11:05:02.434Z","modified":"2022-04-04T12:40:52.411Z","1.5.1":"2018-02-12T11:16:00.162Z","2.0.7":"2019-12-24T13:04:04.906Z","2.0.8":"2019-12-25T08:25:06.168Z"},"maintainers":[{"name":"alexkamaev","email":"alexikam@gmail.com"}],"description":"An utility library for performing platform-dependent actions on browsers.","homepage":"https://github.com/DevExpress/testcafe-browser-tools#readme","repository":{"type":"git","url":"git+https://github.com/DevExpress/testcafe-browser-tools.git"},"author":{"name":"Developer Express Inc."},"bugs":{"url":"https://github.com/DevExpress/testcafe-browser-tools/issues"},"license":"MIT","readme":"# testcafe-browser-tools\n\n[![Build Status](https://travis-ci.org/DevExpress/testcafe-browser-tools.svg)](https://travis-ci.org/DevExpress/testcafe-browser-tools)\n\nTestСafe Browser Tools is an utility library for performing platform-dependent actions on browser windows.\nWorking with browsers is specific for each operating system and requires native code to deal with. In order to provide painless and simple installation, this package encapsulates pre-built binaries for all supported platforms and JS-wrappers around them. This helps end-users avoid running *post-npm-install* build actions.\n \n# Build Process\nTo build native binaries from source files, execute the gulp task corresponding to your operating system:\n```\n'buildWin'\n'buildMac'\n'buildLinux'\n```\nNote that the application for a particular platform must be built on a machine with the same platform.\n\nThe *bin* directory contains pre-built native binaries. Consider using them if your contribution does not affect the native modules.\n\n# Install\n\n```\n$ npm install testcafe-browser-tools\n```\n# API Reference\n\n**Important note**: To identify the web browser window, most of the provided functions use its title.\nThis title matches the web page's `document.title` in most of the browsers.\nHowever, Microsoft Edge truncates the window title to the hostname if `document.title` contains only a URL\n( e.g. `document.title = 'http://localhost:1337/page'` gives `localhost` in the window title).\n\nSo, you need to add some characters before the URL in order to bring it to the window title:\n```js\ndocument.title = 'title: ' + document.location.toString()\n```\nFor API reference, see the [API](API.md) document.\n\n# Testing\n\nTo run automated tests:\n```\n$ npm test\n```\nSince the module functionality depends on browsers available on a testing machine and you cannot predict expected returned values for some functions, the automated tests cover only a part of the functionality.\nTo test all the functions provided by the module, use the playground. To run it, execute the gulp task corresponding to your operating system:\n```\n$ gulp runPlaygroundWin\n$ gulp runPlaygroundMac\n$ gulp runPlaygroundLinux\n```\nThis will open the Playground web page at [http://localhost:1334/](http://localhost:1334/), where you can manually check if the functions work correctly.\n\n# Author\n\nDeveloper Express Inc.([http://devexpress.com](http://devexpress.com))\n","readmeFilename":"README.md"}