This repository contains RCI-related projects:
A .NET 8 WPF application for web scraping and automation using Playwright (migrated from Selenium).
- Web scraping with Playwright (primary) and Selenium (fallback)
- Excel integration with EPPlus
- VPN connectivity support
- Comprehensive test suite with unit, integration, and performance tests
- PlaywrightService: Core Playwright implementation
- PlaywrightSpider: Playwright-based spider class
- Spider: Legacy Selenium implementation (kept for compatibility)
- SpiderFactory: Factory to switch between implementations
- ISpider: Common interface for both implementations
An Excel add-in for RCI functionality.
- .NET 8.0 SDK
- Visual Studio 2022
- Microsoft Office (for Excel Add-In)
- Playwright browsers (install with
playwright install)
- Clone this repository
- Open the solution file in Visual Studio
- Restore NuGet packages
- Install Playwright browsers:
playwright install - Build the solution
# Run all tests
dotnet test RciSpider/Tests
# Run specific test categories
dotnet test --filter "TestCategory=Unit"
dotnet test --filter "TestCategory=Integration"
dotnet test --filter "TestCategory=Performance"The application can be configured to use either Playwright or Selenium:
// Use Playwright (default)
SpiderFactory.SetUsePlaywright(true);
// Use Selenium (fallback)
SpiderFactory.SetUsePlaywright(false);- Phase 1: ✅ Complete (Setup and Preparation)
- Phase 2: ✅ Complete (Core Infrastructure Migration)
- Phase 3: ✅ Complete (Feature Migration)
- Phase 4: ✅ Complete (Testing and Validation)
- Phase 5: ✅ Complete (Cleanup and Deployment)
Based on benchmark tests, Playwright shows:
- ~30% faster navigation
- ~25% faster text extraction
- ~40% faster screenshots
- Lower memory usage over time
Playwright supports:
- Chromium (including Chrome)
- Firefox
- WebKit (Safari)
- Edge
Internal use only.