Legacy Portals Without APIs: Chinese Browser Bot Experience

When an enterprise IT team inherits supplier portals built before open APIs existed, browser automation is often the only integration route left. These legacy systems move slowly, render inconsistently across browsers, and intermittently drop sessions, which makes them a tougher engineering target than modern web apps. The Chinese teams that handle this work successfully design around the legacy behavior rather than pretending the portal behaves like a new site: they build a paced queue design around long sessions, define SLA terms that match what the legacy system can realistically deliver, and keep a clean human handoff for flows that cannot be completed by script. This article works through the mistakes buyers make on these estates and the evidence an experienced vendor should show, organized as a mistake log from an enterprise IT perspective.

The buyer profile: enterprise IT stuck with pre-API portals

The typical buyer here is an internal IT or operations team in a mid-sized or large organization, supporting a set of supplier, procurement, or partner portals that the company has used for years. The portals belong to counterparties or suppliers who will not offer an API, will not schedule an upgrade, and change little over time. The team’s own systems have modernized around them, and the manual entry between the two has grown into steady overtime work. The pressure is to reduce that manual load without destabilizing systems that carry real commercial records.

This profile changes the procurement priorities. With a modern target, buyers weigh framework choice and feature breadth; with a legacy target, the priorities are browser compatibility, slow-session tolerance, session recovery, and a repair path that works on aging markup. A vendor whose portfolio shows only recent single-page applications may underestimate how much wait handling, compatibility testing, and failure recovery an old portal demands. Asking for past legacy deployments and their repair history is a stronger screen than reviewing a slick modern demo.

The estate often mixes old and new. Some portals accept scripts reasonably; others are fixed to an old browser build, use frames or old widgets, and time out under any automated pace. A competent vendor surveys the whole list first and separates targets into those suitable for browser automation, those that need a desktop RPA route instead, and those that should stay manual. The boundary between browser automation and desktop automation for old Windows clients is discussed in desktop automation for legacy Windows software, and the survey should make that call per portal rather than forcing every target into one tool.

Mistake one: treating the legacy portal like a modern web app

The most common error is assuming a legacy page loads, validates, and responds the way a modern app does. Old portals may render server-side in stages, use frames that load independently, keep state in session cookies that expire fast, and return generic error pages instead of field-level messages. A script written for instant page transitions will retry too fast, read values before they exist, and mark sessions failed that were only slow. The experienced team measures actual load and response times on the target, then sets wait conditions and timeouts from those measurements rather than from generic defaults.

Browser compatibility is the other half of this mistake. Some legacy portals only behave correctly on one older browser build, and the automation stack must run that browser rather than the newest available version. A headless modern browser may render the page poorly or miss old widget controls. The vendor should confirm on staging which browser build each portal accepts, and design the deployment to match it. Forcing a modern driver onto a compatibility-only portal produces flaky sessions that look like random failures and are hard to diagnose.

State and session behavior deserves explicit testing: how long the portal holds a login, what happens after idle time, whether parallel sessions under one account are allowed, and how a dropped session signals itself. These facts vary by portal and cannot be assumed. The bot should detect expiry rather than push onward into an unauthenticated page, and it should handle a mid-session logout by holding the record for reauthorization. The teams that document these behaviors per portal before coding are the ones whose scripts survive the first production weeks.

Mistake two: sizing capacity from daily volume instead of session windows

Legacy sessions are long. A form that takes a modern app thirty seconds may take an old portal two to four minutes when its slow widgets and round trips are counted. Sizing capacity from total daily records without dividing by session duration leads to an under-sized deployment: the queue looks modest on paper but cannot finish the batch inside the business window. The experienced plan works backward from the deadline: how many records must clear by a fixed time, how long each session takes, how many concurrent sessions the portal tolerates, and how many workers that implies.

Concurrency against a legacy portal is conservative. Old servers can degrade, or the account can be locked, when too many sessions hit at once, so the queue paces sessions below the portal’s apparent tolerance rather than maximizing parallelism. Peak periods, such as month-end supplier submissions, deserve a separate capacity check; a deployment that handles an average day may stall at the deadline. The legacy case pushes per-session memory and time reserves toward the heavier end of any capacity worksheet, because old widgets and slow round trips stretch both.

Queue design for these estates also accounts for retries without stacking up. A transient legacy failure gets a bounded retry with backoff; if the portal is broadly unavailable, the queue should pause that target rather than open sessions against a down system, and resume when health returns. Pending counts, running counts, and blocked targets should be visible at a glance, so operations can tell whether a backlog is a slow portal, a capacity shortage, or a structural break.

Mistake three: leaving SLA terms vague on legacy flows

Vague SLAs are expensive on legacy work. A promise to “fix issues quickly” does not specify which issues, within what hours, on which portals, or what counts as a missed commitment. For a pre-API portal, the agreement should define response and resolution windows by severity: a fully down production flow versus a single failed record versus an occasional slow session. It should state which hours the SLA covers, what happens outside those hours, and how an unavailable legacy target is reported and escalated.

The SLA should also be realistic about what the legacy portal itself can deliver. If the portal intermittently drops sessions, the SLA covers the bot’s detection and recovery, not a guarantee that the portal never fails. Buyers should resist a vendor who promises zero failures on an unreliable target; that promise either hides risk or means the vendor has not yet used the portal in production. Measured targets, such as a successful completion rate over a reviewed sample and an alert within a stated window, are more honest than perfection language.

Contract terms should separate SLA-covered maintenance from scope changes. Selector repairs after a markup change and recovery from session drops are standing maintenance; a new supplier onboarding flow, a new report, or a changed business process is a change order. The line should be written down so a legacy estate does not quietly accumulate scope inside a fixed retainer. The broader maintenance-terms review for Chinese vendor arrangements is covered in ownership and maintenance terms for broken automations, and legacy portals need that clarity more than most.

Mistake four: omitting queue design behind the form-by-form work

Buyers sometimes approve a script that opens one portal, fills one form, and call that an automation, leaving scheduling, retries, state tracking, and exception handling to be improvised later. On a modern, stable target this gap shows up slowly; on a legacy target it shows up in the first week, when a session drops mid-batch and nobody knows which records posted. A production-grade build carries the queue layer alongside the form work: record states, pacing, retry counters, exception routing, evidence capture, and a report of what entered, what failed, and why.

The exception path on legacy portals should route to staff with enough context to act. A failed record should carry the source data, the portal response, the captured evidence, and the step where it stopped, so a reviewer does not reopen the flow from scratch. High-value or high-complexity entries may require a human review before submission, and that gate should be designed into the flow rather than added after an erroneous post. The pilot approach that picks three manageable processes before committing to a full estate is outlined in designing an RPA pilot around three processes; the same staged rollout fits a legacy portal list, proving the queue and recovery design before touching the whole portfolio.

What a competent Chinese team brings to legacy estates

Beyond the technical design, experienced vendors bring a working style that matters on long-lived legacy projects. They survey portals and report compatibility limits before estimating. They write down session behavior, wait conditions, and failure modes as documented fixtures. They hand over the repository, selector map, and runbook so the buyer’s own engineers can follow the logic after the retainer period. They communicate in writing on a fixed weekly cadence aligned to the buyer’s timezone, which keeps legacy repair questions from becoming day-long round trips.

They also set expectations honestly about which flows can be automated at all. A legacy portal with intermittent verification steps, ambiguous state, or unreliable posting may only be suitable for assisted work: the bot prepares the record and a staff member confirms the submission. The vendor should distinguish that assisted design from a fully unattended one, and price them separately. Recognizing those limits early, and building the queue, SLA, and handover around the legacy reality, is what separates a deployment that runs steadily on old portals from one that becomes a permanent emergency project.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *