This question already has answers here:
How to use/attach an existing browser using Selenium?
(2 answers)
Closed 7 years ago.
I ususally attach the IE window with the below code like
b=Watir::IE.attach(:index,0)
Could anyone please suggest me how to attach the Chrome and Firefox browser like I shown above
You will need to use plugins for this.
Please have a look at:
The chrome driver
& Firefox driver
Related
This question already has answers here:
How to screen shot a UAC prompt?
(6 answers)
Closed 7 years ago.
Windows 8.1 When I try to launch gpedit.msc according this info, Windows can't find such file.
How can I get the screen of the UAC-window with a question of confirmation on start of the program? I need it in a sample of my documentation. I press the Print Screen button, but the clipboard has nothing.
I found decission here. I tried "Method 2" and it works fine.
I am new to WATIR and I want to automate Safari browser.
I am using require 'safariwatir' statement in my ruby file.
I am able to open a safari browser window but when I call goto method on my browser object then the result is NIL. It shows FAILED TO OPEN PAGE.
Please help me with this.
Thanks in advance.
safariwatir gem is no longer in active development. The last release was three years ago. You should use watir-webdriver gem to drive Safari.
This question already has answers here:
Is there a possible way to create screenshots of the whole screen out of a firefox extension?
(3 answers)
Closed 8 years ago.
Awesome screenshot is a great tool and I'am using it for google chrome.
Now, I would like to shot the devtool too which is part of the google chrome browser, but using Awesome screenshot is not possible.
Look to this image
Are there other plugins/browser (firefox/firebug) able to make this job?
Thanks.
P.S.
The goal of Awesome screenshot is not to make just a screenshot, but to share very easly this sreenshot in the web with other web developers for example.
I think your question is "how am I able to take a screenshot of the dev tool in the current browser?", you could just do a simple Print screen and paste it into photoshop or fireworks.
Chrome allows to make screenshots of webpages. Bookmarks panel / developer tools window are not part of a webpage so they won't appear on a screenshot.
There is a brand new developer tools API that allows to extend developer tools panel. It may be possible to create an extension that does screenshot from inside the devtools window then combines it with a screenshot of a webpage. But it seems complicated.
If possible, simply use some external tool to do a screenshot of whole browser window.
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
Register as Login Item with Cocoa?
My Cocoa program needs to add an application to the start-up menu on a Mac.
Please let me know of any Cocoa code samples for doing this.
Any help will be greatly appreciated.
Thanks,
Anisha
There’s no such thing as start-up menu on Mac OS X. If you’re referring to login items, then your question is a duplicate of Register as Login Item with Cocoa?.
This question already has answers here:
Closed 13 years ago.
Possible Duplicate:
Firebug for IE
I have no tool to inspect into DOM in IE6 now.
Try Firebug Lite.
Does the IE Developer Toolbar help with what you're trying to accomplish?
http://www.microsoft.com/en-us/download/details.aspx?id=18359
You can try the Internet Explorer Developer Toolbar
I have had good luck in the past with IEWatch. (but I haven't done web development in awhile, so I'm not sure if it does the same things as Firebug.)
is this because you're trying to actually test in IE6, or because you're stuck in it?
if it's the latter, I wonder if you can install the chrome frame and use the inspector that comes with chrome (is the inspector included in the frame? I would assume so..) to do your DOM inspection.