Comments (6)
@skrapeit do you think it's better to add them here or in the KotlinTest lib?
from skrape.it.
If the KotlinTest project maintainers will accept to support skrape.it with custom assertions this would be awesome and preferred. If not I guess it's OK if skrape.it will provide the custom matchers itself
from skrape.it.
@skrapeit just open an issue there. I already implemented some matchers in the lib, and if they feel comfortable with adding jsoup matchers, I can do this one.
Edit: @skrapeit can you assign me this task? I'll start it today, I believe I can finish it till the end of the week.
from skrape.it.
@christian-draeger whats the meaning of shouldBePresent
? How do I check it?
Edit: I already opened a PR with draft status. You can follow the development of the matchers here.
The specific matchers for the skrape lib I will open after finishing the basics from the Jsoup.
from skrape.it.
Nice :) thx a lot
Element.shouldBePresent
assertion should fail if a given element is not present in the Document.
from skrape.it.
@skrapeit I'm not too much available as I wanted to continue developing those matchers. So, I'll remove the WIP from the PR.
As soon as they approve, the main structure will be done to add new matchers as needed.
from skrape.it.
Related Issues (20)
- [BUG] BrowserFetcher not working on Android HOT 12
- [QUESTION] Scrape elements from text\templates block HOT 5
- [BUG] BrowserFetcher is still not working on Android HOT 19
- [IMPROVEMENT] Upgrade to Ktor 2 HOT 11
- [QUESTION] cannot access website using BrowserFetcher HOT 2
- [QUESTION] Charset not applied and fetch question marks instead HOT 2
- No field INSTANCE of type Lorg/apache/http/message/BasicLineFormatter; in class Lorg/apache/http/message/BasicLineFormatter[BUG]
- [QUESTION] Retrieving parent's next sibling?
- [QUESTION] Unable to use HttpFetcher and/or AsyncFetcher with ktor
- [QUESTION] How to disable log in the console
- [FEATURE] Kotlin Multiplatform support HOT 11
- [BUG] KDoc should use Kotlin formatting, not Javadoc HOT 5
- [FEATURE] Support for native image (Spring Native/GraalVM) HOT 8
- Three vulnerabilities detected
- [BUG] Crash on Android when using R8 HOT 2
- [BUG] Spring Boot 3.0.0-M5 - new logback version included into Spring Boot causing error HOT 1
- [BUG] No static field INSTANCE of type Lorg/apache/http/message/BasicLineFormatter
- [QUESTION] Execution error on some android devices
- [QUESTION] Tell SkrapeIT to wait until each JavaScript loaded completely HOT 3
- [BUG] Error on Android: api data not showing in release version but works fine in the debug mode HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skrape.it.