internet-explorer

Setting up selenium to work with internet explorer

半世苍凉 提交于 2020-01-23 16:16:12
问题 I have created a python script that I can execute and does exactly what I want under the Google Chromedriver. However, to make sure that my executable can work on all PCs, I would like to have my script work with the internet explorer driver but I am having issues. I have attached a sample test code I am trying to run below along with the error message I am receiving. from selenium import webdriver driver = webdriver.Ie() driver.get("google.com") And the error code I am receiving is: selenium

jQuery hovers don't work in IE10 but works in lower IE versions

倾然丶 夕夏残阳落幕 提交于 2020-01-23 07:49:40
问题 On my site, the boxes are supposed to fade into the description. This works in every browser I've tried except IE10. This is a WordPress site and I use nine plugins. I've tried deactivating all plugins but the hovers still don't work in IE10. Below is the code I'm using for the hovers: jQuery(document).ready(function($){ $('.thumbnail').hover(function() { $('img', this).stop(true,true).fadeTo(100, 0.1); $('.description', this).stop(true,true).fadeIn(100); }, function() { $('img', this).stop

jQuery hovers don't work in IE10 but works in lower IE versions

。_饼干妹妹 提交于 2020-01-23 07:49:31
问题 On my site, the boxes are supposed to fade into the description. This works in every browser I've tried except IE10. This is a WordPress site and I use nine plugins. I've tried deactivating all plugins but the hovers still don't work in IE10. Below is the code I'm using for the hovers: jQuery(document).ready(function($){ $('.thumbnail').hover(function() { $('img', this).stop(true,true).fadeTo(100, 0.1); $('.description', this).stop(true,true).fadeIn(100); }, function() { $('img', this).stop

Is there any way to do “if IE” inside of a CSS file?

这一生的挚爱 提交于 2020-01-23 05:22:11
问题 I know you can put conditional statements to load different CSS files if you are in Internet Explorer, but can you do this inside of a CSS file? I have a situation where I want the right margin to be 20 if it's Internet Explorer but 10 if it's any other browser. 回答1: The easiest way to handle this is with conditions in your HTML that put a div with a specific id around the rest of the page. <!--[If IE 8]> <div id="IE8"> <![endif]--> . . . <!--[If IE 8]> </div> <![endif]--> Then, your CSS can

launching chrome or IE via selenium VBA

流过昼夜 提交于 2020-01-23 04:08:16
问题 I have written a code for web data downloading using selenium VBA, it works good in Firefox, but many time Firefox is crashing. I tried to launch chrome/IE from vba but it's not properly happening. Below is my code....please help. Public Sub Untitled_2() Dim selenium As New SeleniumWrapper.WebDriver Dim By As New By, Assert As New Assert, Verify As New Verify, Waiter As New Waiter driver.start "firefox", "https://indexes.nasdaqomx.com/Account/LogOn" 'below 2 line don't work driver.start "ie",

Disable form validation in browser

南笙酒味 提交于 2020-01-22 13:23:30
问题 I'm coding on a website with forms and use HTML5 validation - no rocket science so far. Everything works fine for me in Google Chrome, but I want to get sure that even a IE 6 user with no formvalidation does not insert malformed data into my MYSQL database. Is there any way to turn off the HTML5 form validation in Google Chrome or some other state-of-the-art browser to test the serverside data validation? 回答1: To disable validation in HTML5 use <form method="post" action="/foo" novalidate>...

IE9 only _sometimes_ ignores <base href>

不羁岁月 提交于 2020-01-22 13:04:22
问题 We are developing a site which makes heavy use of <base href> (which is typical for TYPO3 sites). The site is developed in a sub directory and will later be relocated to the top directory so we can not easily remove <base href> . Our client told us that sometimes when she browses the new pages she gets the page content without layout applied. We debugged this: It happens only in IE9. Looking at the logs we find that when the error happens, IE9 tries to load CSS, JS and all images consequently

CSS drop-down menu explosion in Internet Explorer 7

杀马特。学长 韩版系。学妹 提交于 2020-01-22 03:19:09
问题 I am creating a design with a drop-down menu and everything works well in modern browsers (i.e. Firefox, Chrome, Opera, Safari, and IE9). However, due to to the number of visitors using IE7 and IE8, I also need to make the menu compatible with those versions of Internet Explorer. Here is the drop-down menu (fiddle, pastebin): HTML <ul class="menu_top"> <li><a href="/" title="Home" class="selected">Home</a></li> <li><a href="/Help_Videos" title="Help Videos" class="haschildren">Help Videos</a>

CSS drop-down menu explosion in Internet Explorer 7

人盡茶涼 提交于 2020-01-22 03:19:04
问题 I am creating a design with a drop-down menu and everything works well in modern browsers (i.e. Firefox, Chrome, Opera, Safari, and IE9). However, due to to the number of visitors using IE7 and IE8, I also need to make the menu compatible with those versions of Internet Explorer. Here is the drop-down menu (fiddle, pastebin): HTML <ul class="menu_top"> <li><a href="/" title="Home" class="selected">Home</a></li> <li><a href="/Help_Videos" title="Help Videos" class="haschildren">Help Videos</a>

IE9 XmlHttpRequest returns 12019 error instead of HTTP/417 response code

元气小坏坏 提交于 2020-01-21 23:53:27
问题 I have some error processing for ajax request to WCF service on client side, self.remove = function (dep, processingResult) { var data = { "id": dep }; $.ajax({ url: 'my.svc/remove', type: 'POST', contentType: 'application/json', dataType: "json", cache: false, data: JSON.stringify(data), complete: function (e, xhr, settings) { var message = self.getMessage(e.status); switch (e.status) { case 200: processingResult(); break; case 417: console.log(e.statusText); radalert(message + e.statusText,