Commit Graph

29 Commits

Author SHA1 Message Date
Thomas Walpole b03c934166 DRY selector expressions setting 2018-10-16 15:50:26 -07:00
Thomas Walpole f35e2771a6 provide way to specify class starting with ! 2018-10-16 14:13:20 -07:00
Thomas Walpole 8d95ab33fe Get filter names via reflection on block parameters 2018-10-12 13:43:26 -07:00
Thomas Walpole 51ec106095 Fix CSS based default expression filters 2018-10-12 10:23:34 -07:00
Thomas Walpole 3778898a96 Support regexp for system :id and :class filters 2018-10-02 23:13:34 -07:00
Thomas Walpole 15ca8c7d6a Move regexp disassembler into own class 2018-10-02 23:12:54 -07:00
Thomas Walpole 907b9e269f Optimize attribute checking for :element selector 2018-10-02 18:55:50 -07:00
Thomas Walpole 31afeef047 Fix negated class selector option - Issue #2103 2018-09-26 15:24:58 -07:00
Thomas Walpole dbf9b9e4a8 true/false should verify attribute presence/absence in :element selector 2018-08-15 10:44:34 -07:00
Thomas Walpole 39a46bbba0 Fix :element selector without element type 2018-08-15 10:11:32 -07:00
Thomas Walpole e320f5d7fc style updates 2018-07-16 15:04:52 -07:00
Thomas Walpole 6995982268 Support negated classes in the :class filter option 2018-05-29 17:08:24 -07:00
Thomas Walpole 88e3ac2d2c Rename Selector#filter => node_filter 2018-05-29 17:08:24 -07:00
Thomas Walpole daa6a4c7da Support XPath:Expression for built-in id and class filters when using XPath based selectors
Replace Regexp named filters with a :matcher option for filters
2018-05-29 17:08:24 -07:00
Thomas Walpole 522a94a3c4 Allow filter names to be Regexp and add :element selector type 2018-05-29 17:03:39 -07:00
Thomas Walpole 383211de9f Fix expression filter descriptions in selector failure messages 2018-04-11 10:03:41 -07:00
Thomas Walpole 618dd9ff70 Rubocop driven spec style cleanup 2018-03-01 11:44:55 -08:00
Thomas Walpole b5e5fd308f Don't support nokogiri < 1.8 2018-01-03 09:04:12 -08:00
Thomas Walpole d4eae5cdf4 Allow specification of expression filters outside the main selector expression 2017-05-16 13:17:39 -07:00
Thomas Walpole 88be820f38 fix warnings in tests 2016-11-21 11:53:59 -08:00
Thomas Walpole a0e99a8da9 Allow a selector to specify its default visibility setting 2016-10-03 11:24:22 -07:00
Thomas Walpole 109cfaba2e matches_selector? should allow all of the selectors filters 2016-09-23 10:23:48 -07:00
Thomas Walpole 09d350e49a special character CSS queries dont work with Nokogiri < 1.6.8 2016-09-22 23:49:44 -07:00
Thomas Walpole b160533d5b Move :id and :class options to SelectorQuery and add some tests 2016-09-22 17:13:48 -07:00
Thomas Walpole f44f1e45aa Add :selected and :disabled filters to :option selector 2016-03-24 14:50:42 -07:00
Thomas Walpole 2eda1540b9 move xpath gem html definitions into capybara 2016-03-24 14:16:46 -07:00
Thomas Walpole 07e7777425 frozen literal magic comment 2016-03-07 16:52:19 -08:00
Paul Menzel f636a210c0 Fix spelling of *modify* 2016-02-01 18:03:47 +01:00
Thomas Walpole 46c334cb8a Add ability to modify a selector 2016-01-17 12:48:14 -08:00