Posts

Showing posts with the label firefox

Prevent user from closing Selenium-driven Firefox

Prevent user from closing Selenium-driven Firefox While running a Selenium-driven session of Firefox, can I prevent user from closing browser's window, or, at least, subjecting it to a confirmation so that they can avoid doing so by accident? I'm using Selenim with Winforms VB.NET application, on Windows. Did you try running it in headless mode? stackoverflow.com/questions/35818436/… – Jason Bayldon Jul 1 at 21:53 User must perform login using a digital certificate token before the automated part kicks in, so I don't think headless would be an option for me... But thanks anyway. – VBobCat Jul 2 at 12:37 By clicking ...

Javascript properly not works in Firefox ( toggle menu )

Javascript properly not works in Firefox ( toggle menu ) /* General styles for all menus */ .toggles-menu, .toggles-menu:hover, .toggles-menu:focus{ background : transparent; outline : o ;padding-right : 15px;border:none; box-shadow: none; outline: 0; cursor: pointer} .cbp-spmenu { background: #47a3da; position: fixed; } .cbp-spmenu h3 { color: #afdefa; font-size: 1.9em; padding: 20px; margin: 0; font-weight: 300; background: #0d77b6; } .cbp-spmenu a { display: block; color: #fff; font-size: 1.1em; font-weight: 300; } .cbp-spmenu a:hover { background: #258ecd; } .cbp-spmenu a:active { background: #afdefa; color: #47a3da; } /* Orientation-dependent styles for the content of the menu */ .cbp-spmenu-vertical { width: 240px; height: 100%; top: 0; z-index: 1000; overflow-y: scroll; } .cbp-spmenu-vertical a { border-bottom: 1px solid #258ecd; padding: 1em; } .cbp-spmenu-horizontal { width: 100%; ...