I am looking for complex test cases that will challenge my WebDriver Java skills.  Does anyone have such an example? Links? Own test cases that has put your automation skills to the test?
Where can I find sample or real Selenium projects. All the material I can find on github and on internet are basic, and never intermediate or advanced.  How does a real Selenium project look in real life? How can I find sample code?
Mortarboard badge not awarded Why should events in C# take (sender, EventArgs)? It's known that you should declare events that take as parameters (object sender, EventArgs args). Why? Rotate Geographic map What could cause exposure problems after my camera got wet? I had an unfortunate accident where my DSLR camera (and me) briefly ended up in a river. The camera wasn't fully submerged but it did get very wet. It still works, sort of, although the electrics are doing some random things. I'm hoping that's just a bit of dampness doing that, that will fix itself when it dries out fully.  More concerning is that the documents exposure metering seems to be all wrong when using the viewfinder. Pictures are extremely overexposed and nearly white. But if I use live view, then they are fine.  Why could cause this? I assume the light is routed a different way when using the viewfinder and maybe it is going through something with water/condensation on it? Switching a DIV background image with jQuery How safely bring lamp wire into house? I'm considering replacing an outdoor lighting fixture with an LED motion-sensitive fixture, but I'm not sure how to safely do the wiring.  The location is protected (under a porch) but still needs to be weatherproof. Here's the existing fixture and mount:    The obvious replacement would be another lamp that included its own box cover, so that its wiring would be covered and protected. But, the fixture I like doesn't include such a cover:    You can see it's meant to be screwed into the wall, but doesn't cover anything. The power cable ends with bare wires which are meant to be wire-nutted to the supply wiring, probably inside a junction box. But, how do I get the wire safely into the junction box while keeping things weatherproof?  One option would be to replace the lamp's power cable with one ending in a grounded plug, and install a weatherproof outlet box. But that's ugly and complex.  Are there weatherproof junction box covers that include provisions for sealed entry of cables? How to change the voltage polarity in an inverting amplifier? I want to implement a simple circuit which can map -10V  +10V voltage range to 0V 5V voltage range. Thus I'm planning to use two op-Amps, one for the slope and the other for the offset. So basically I'm planning to use an inverting amplifier and a summing amplifier consecutively.  But Inverting amplifiers multiplies the input voltage with a minus sign. I need a positive slope. How can I overcome this?  Also Could you gibe me any ideas for a cheap op-Amp models for this purpose? Is there some way to PUSH data from web server to browser? Of course I am aware of Ajax, but the problem with Ajax is that the browser should poll the server frequently to find whether there is new data. This increases server load.  Is there any better method (even using Ajax) other than polling the server frequently? How To Group Records By Value In A Specific Field? I have a List of records of type abc__c. abc__c is a custom object. The record has a field called code__c. What I am trying to accompolish is to group the records in the list based on the code__c.  For example the list might have :  Code__c     abc__c record 30       (Record 1) 40       (Record 2) 40       (Record 3) 50       (Record 4) 30       (Record 5)   I want to group these records based on Code__c in a Map. There could be any number of code__c which is populated dynamically. It is not static. how can I loop through the list and store the records as a list for a particular code__c(Id) in Map? About the anime version of Air:  Some sources on the net state that Kanna's curses were broken, and her next reincarnation would be a happy one.  Some say that the pair of children playing on the beach were the reincarnations of Misuzu-Kanna / Yukito-Ryūya.  What is the canonical explanation of this ending? Did the curses really get lifted? Please include sources in your answer. How do you get the current time in milliseconds (long), in VB.Net? Should there always be a comma after "therefore","However" etc.? Is there a better alternative to ambiguous for a word with a wide range of meanings, difficult to find, because they become different in connection with person's opinion. I know this, but I can't recollect at all.   What is this thing called?   They are usually centered in a book or writing and I'm certain they have a name but I can't remember for the life of me. They also come in all shapes, colors and sizes. When should I use "shall" versus "will"? Which is the correct use of these two words, and in which context should one be used rather than the other? If $Var(X)=0$ then is $X$ a constant? We know that the variance of a constant is $0$. Is the converse also true? Can we say that if the variance of some random variable is $0$ it is a constant? strtok segmentation fault Where does de Broglie wavelength $\lambda=h/p$ for massive particles come from? I'm curious where the  $p=\frac{h}{\lambda}$ comes from?   I know that for light (which has no rest mass), the following is true:  $E=pc$ and $E=hf$  so,  $$pc=hf \Rightarrow p=\frac{hf}{c}=\frac{h}{\lambda}$$  But how is the expression $p=\frac{h}{\lambda}$ obtained for a massive particle where $E\neq pc$? I've read some people claim that the expression can be derived, and others saying it's an experimentally verified relationship. How do I integrate the following $$\int \frac{dx}{\sin^3 x + \cos^3 x}$$ ?  It appears that I am supposed to break this up into $(\sin x + \cos x)(1-\cos x \sin x)$, but the next thing to do is not apparent to me. Seeing as C# can't switch on a Type (which I gather wasn't added as a special case because is relationships mean that more than one distinct case might apply), is there a better way to simulate switching on type other than this?  void Foo(object o) {     if (o is A)     {         ((A)o).Hop();     }     else if (o is B)     {         ((B)o).Skip();     }     else     {         throw new ArgumentException("Unexpected type: " + o.GetType());     } }