|  | @@ 111-113 (lines=3) @@ | 
                                                            
                                    | 108 |  |         $attr = $element->getAttribute($attribute); | 
                                                            
                                    | 109 |  |         if (!empty($attr)) { | 
                                                            
                                    | 110 |  |           $found = TRUE; | 
                                                            
                                    | 111 |  |           if (strpos($attr, "$value") === FALSE) { | 
                                                            
                                    | 112 |  |             throw new \Exception(sprintf('The "%s" attribute does not equal "%s" on the element "%s" in the "%s" region on the page %s', $attribute, $value, $tag, $region, $this->getSession()->getCurrentUrl())); | 
                                                            
                                    | 113 |  |           } | 
                                                            
                                    | 114 |  |           break; | 
                                                            
                                    | 115 |  |         } | 
                                                            
                                    | 116 |  |       } | 
                                                                                
                                |  | @@ 149-151 (lines=3) @@ | 
                                                            
                                    | 146 |  |       if (empty($attr)) { | 
                                                            
                                    | 147 |  |         throw new \Exception(sprintf('The "%s" attribute is not present on the element "%s" in the "%s" region on the page %s', $attribute, $tag, $region, $this->getSession()->getCurrentUrl())); | 
                                                            
                                    | 148 |  |       } | 
                                                            
                                    | 149 |  |       if (strpos($attr, "$value") === FALSE) { | 
                                                            
                                    | 150 |  |         throw new \Exception(sprintf('The "%s" attribute does not equal "%s" on the element "%s" in the "%s" region on the page %s', $attribute, $value, $tag, $region, $this->getSession()->getCurrentUrl())); | 
                                                            
                                    | 151 |  |       } | 
                                                            
                                    | 152 |  |     } | 
                                                            
                                    | 153 |  |   } | 
                                                            
                                    | 154 |  |  | 
                                                                                
                                |  | @@ 182-184 (lines=3) @@ | 
                                                            
                                    | 179 |  |       $rules = explode(";", $style); | 
                                                            
                                    | 180 |  |       foreach ($rules as $rule) { | 
                                                            
                                    | 181 |  |         if (strpos($rule, $property) !== FALSE) { | 
                                                            
                                    | 182 |  |           if (strpos($rule, $value) === FALSE) { | 
                                                            
                                    | 183 |  |             throw new \Exception(sprintf('The "%s" style property does not equal "%s" on the element "%s" in the "%s" region on the page %s', $property, $value, $tag, $region, $this->getSession()->getCurrentUrl())); | 
                                                            
                                    | 184 |  |           } | 
                                                            
                                    | 185 |  |           $found = TRUE; | 
                                                            
                                    | 186 |  |           break; | 
                                                            
                                    | 187 |  |         } |