How can I change the folder where Safari puts downloaded files using webdriverio?
Related
I am working on a BigCommerce website and i'm using the online editor to modify HTML files but i can't modify js files because they are read only files
How can I work on my pc and sync modifications with the website .???
if you are modifying theme files, and you are using a Stencil theme, then you can download the theme's files, edit them locally and add them back to the site.
See:
Installing Stencil
Theme Documentation
I am using selenium to automate some downloading tasks, but some pages start the downloads automatically and I need to know the links of those downloads during or after the download and the link is not available in the page.
How can I get the URL of the files that started downloading automatically?
If you are using Chrome to run your selenium scripts you can just navigate to the chrome://downloads/ and get the latest download file's URL.
Or you can fire a Ctrl+J keyboard action to the browser using java robot classes and open the tab.
(Chrome downloads page is a html page and you can capture elements in it)
I'm trying to use the embed tag in a chrome packaged app to display a pdf document included in the distribution. The renderer displays "Looking for plugin...". Is the chrome pdf viewer supported in packaged apps or is the problem with the embed tag?
<embed src="document.pdf#page=33" type="application/pdf">.
I want to redirect users to another page if they are loading my web app from a standard desktop browser. I've tried detection scripts using php and javascript in the index file which both work fine in the dev environment. The problem is when I use the 'sencha app build production' command to build the project I get errors. I'm assuming this is because the build script is somehow being redirected by these scripts when trying to build dependencies. I'm not sure how to fix this. I tried building it without the scripts then uploading the production build and adding the code to the uploaded files but the code added to the uploaded files seems to be ignored.
Either the builder is getting redirected or the builder cannot follow the code dependencies to build a single JS file.
You can create a device profile for desktop which will redirect in the launch function when the profile is active: Sencha Touch 2 device profiles
I'm working on a safari extension. I've included a start script in it, but it is not working with download link. for instance if I navigate to www.example.com/example.zip script is not getting called. I was wondering if it is possible to get it to work with download links?